Jens Oliver Meiert

Web Development (7)

On Links and Accessibility

Hyperlinks and the underlying ubiquitous <a> elements are what make the Web. Just a few weeks back, Christian Heilmann wrote a little about why and how links are important; here it’s about accessibility aspects.

#126 · · accessibility

CSS: When to Use Generated Content

Generated content means a special option in CSS to embed content in documents. It’s achieved through the content property. Fast forward, generated content should only be used for non-critical content; there it can be a very sharp instrument.

#125 · · css

HTML Explained in 123 Tweets: The Google #htmltuesday Archive

Did you know that Google’s Webmaster Team tweeted short statements about all HTML elements, every week, for two and a half years? It was called “#htmltuesday” and ran from 2011 to 2013. All of these tweets are now available in one place: here.

#124 · · html, semantics

On Writing a Book With Google Docs and Amazon KDP

Google Docs is okay to write short books and when making limited use of the comment feature. Amazon KDP’s HTML format is a technical disgrace, and Amazon needs to fix it. A few thoughts and tips on completing a book using either.

#123 · · misc

CSS, HTML, and the Problem of Spec Fragmentation

We have not one but two fundamental problems with CSS. One is unrestricted growth and complexity leading to poor understanding and poor code. Another one is spec fragmentation, also an issue with HTML, which results in inefficiencies. We should look for a better balance.

#122 · · css, html

“No” to DRM in HTML

It has been quiet around DRM lately so I like to share my opinion, in brief: DRM doesn’t belong into nor anywhere near HTML.

#121 · · html

The Curious Case of Breadcrumbs in HTML

We had an interesting thread about breadcrumbs on W3C’s public-html the other day. At first just targeting delimiters, it spawned a debate about the appropriate markup. Here’s my view on breadcrumbs in HTML.

#120 · · html, semantics

About Cost in Web Development

Cost is an interesting topic. Oftentimes we think of cost as in “this costs so-and-so much.” Like, the software license costs $2,500. Or three man hours cost $450. I’m not an economist but I like to think of this as something like primary cost. Yet, there’s more…

#119 ·

A URL Policy for Web Projects

Do your projects suffer from URL inconsistencies? I just noticed how mine do. I also noticed that I did some unnecessary things, like omitting protocols when they were actually useful. And I noticed that I’ve seen similar problems in corporate projects before. So I jotted down a quick “policy.”

#118 ·

Object-Oriented HTML, and OOCSS

“Object-oriented CSS” is the idea of treating page elements as objects, giving all these objects classes, treating objects’ classes as single entities in style sheets, and taking it from there. I reviewed the old OOCSS site and Smashing Magazine’s introduction.

#117 · · html, css

How to Order CSS Selectors

There are a number of ways to write style sheets. The domain of style guides, many of them go into some detail. What I, despite my work on a number of guides, have so far missed, is a reference to sort selectors and rules, as proposed here.

#116 · · css

The CSS Problem

CSS is growing too large while CSS 2 has not nearly been understood by authors. This non-sustainable growth is a big problem for CSS.

#115 · · css

On Browser Testing

The primary goal for cross-browser testing is to make sure that documents are usable and consistent across different user agents and devices. Even if you understand this to include both functionality and design, the definition of “usable” is interesting.

#114 ·

HTML and Non-Script Styling

If you are to style a document differently based on whether certain technology is available, you should keep two things in mind: HTML itself is static and separation of concerns is important for maintainability…

#113 · · html, maintainability

Maintainability: One Story and Three Concerns

To make this a little story, for a long time in my career I wasn’t very concerned about maintainability. I was maintaining projects but didn’t have an idea about whether what I maintained was actually effective to maintain. I got a sense that things weren’t quite right…

#112 · · maintainability

“window.scrollTo()” or: When to Stay Clear of User Agents

If you were to ask me whether you as a web designer or developer should do anything about user agent issues, my answer was a clear “no.” It’s not your responsibility. You may lack important insight into decisions made on the user agent side…

#111 ·

On Semantics in HTML

As web developers we like to talk about “semantic markup,” a somehow inaccurate short form for “markup that is meaningful and used how it’s supposed to be used.” But where is all that meaning coming from? Let’s take a look.

#110 · · html, semantics

Print Style Sheets and URLs

Print style sheets are awesome. They’re easy to write, too. Site owners and developers who care about print typically know what to do. Alas there’s one thing that’s done rather the wrong than in any right way: printing URLs…

#109 · · css, design

Web Development Principles: Develop for What Is, Not What Could Be

For any given project, web developers fare best when focusing on what is, not what could be. To fend off the first misunderstandings, that focus includes what absolutely will be.

#108 ·

Exposing Reset Style Sheets

Finally, a Chrome extension to highlight alternative approaches to CSS.

#107 ·

HTML, “@width”, and “@height”

As the width and height attributes are to remain part of HTML, limit their use. The reason to avoid @width and @height is that they are presentational and hence constitute potential maintainability issues.

#106 · · html, maintainability

Testing Tricks: CSS Bookmarklets

On complex development environments and CSS bookmarklets as a testing complement. Complement as in you’ve done everything you can but want to err on the safe side.

#105 · · css

One Photo: Reset Style Sheets

It never gets boring.

#104 ·

The Secret of Web Development

Playfulness.

#103 ·

CSS: How to Host Right-to-Left Styling

For international projects, don’t use separate style sheets for right-to-left (RTL) styling: use natural (@dir) or artificial (@id, @class) hooks instead. The only exception are unbearable performance issues due to hundreds of RTL rules…

#102 · · css, maintainability

On Solutions

Solutions require problems. If you don’t have a problem, you don’t need a solution. This is exactly why you should, whenever someone proposes a solution—which includes design and technical changes—ask what problem that solution solves…

#101 · · misc

CSS Validation and Vendor Extensions: Throw Warnings, Not Errors

If you understand valid code as a quality baseline, you validate your code. If you validate style sheets, you come across errors like “Property -moz-border-radius doesn’t exist’”…

#100 · · css, conformance

Real Web Developers Don’t Need Debugging Tools

Bottom line: Try to limit your use of web dev debugging tools—like Firebug or Chrome’s Developer Tools—in order to grow your skills.

#99 ·

“px” Is Dead, Long Live “px”

It’s over. There is no ban on px anymore. The only reason why we as web developers had to adjust coding practices were user agents that failed to meet user agent accessibility guidelines.

#98 · · css

How to Become a Solid Web Developer, the Short Version

Every once in a while people ping me on how to master web development and design. Given how much there’s still to learn for me this makes me blush. Chronically short on time I typically reply in just a few sentences…

#97 ·

WDR #4: Having Conversations in HTTP

The Web Dev Report, issue #4.

#96 ·

HTML/CSS Frameworks: Useful, Universal, Usable, Unobtrusive

A high quality HTML/CSS framework needs to have four attributes: useful, universal, usable, and unobtrusive. The four U’s.

#95 · · html, css, frameworks, quality

The 3 Ground Rules for Writing HTML

The fundamentals every web developer should know: on respecting syntax and semantics, avoiding presentational and behavioral markup, and leaving out everything that is not absolutely necessary.

#94 · · html, conformance, semantics

HTML, CSS, and Web Development Practices: Past, Present, and Future

Articles with a title consisting of more than 15,000 characters don’t need an introduction.

#93 · · html, css, maintainability

Website Optimization Measures, Part VII

In this episode: Unquoted attribute value syntax, q elements, Google Friend Connect, feed styling, work/life balance. Served in no time.

#92 · · optimization

“HTML 5” or “HTML5”?

It’s “HTML5,” not “HTML 5,” declares the most recent post on the WHATWG blog. A seemingly trivial matter, yet it’s inconsistent.

#91 · · html

The True Advantage of CSS

Despite CSS being around for a long, long time, there are still some myths around it. Reading Mike’s post on CSS evangelism again I couldn’t only relate to Mike’s concerns, I also felt reminded of…

#90 · · css, maintainability

Diagnostic Styling Reloaded

Eric cultivated the concept of “diagnostic styling,” meaning using CSS to track down problems within HTML documents. I’ve been working with diagnostic style sheets for general quality assurance…

#89 · · css, quality

WDR #3: Optional Tags, Unquoted Attribute Value Syntax

The Web Dev Report, issue #3.

#88 · · html

Microformats, Key Flaws

I like the idea behind microformats, but I’m not convinced of the way that idea is brought to life. I see three major flaws that appear to make microformats stand in their own way.

#87 · · html, css

XHTML, RIP

Let’s end this week of morbid posts: The XHTML 2 Working Group is expected to stop their work end of 2009. “Today the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009…”

#86 · · html

“handheld” Media Type, RIP?

Website authors don’t use handheld as it’s barely supported; mobile device manufacturers don’t support handheld because it’s barely used. This is kind of the situation I think we’re facing, and it’s a problem.

#85 · · css

Let’s Make The Web Faster

Two weeks after my last outcry regarding slowness on the Web there’s a more proactive response: Google launched code.google.com/speed, subtitled “let’s make the Web faster.”

#84 · · html, css, performance

Maintainability Guide

Maintainability is important in order to deal with change. Good maintainability means making change easier and more affordable, and avoiding change that is not necessary…

#83 · · html, css, maintainability

Punctuation Cheat Sheet

Developing and working with international sites is an interesting challenge, not just because of right-to-left contents. Typographically, there are differences between many locales. To improve punctuation in Google translations I’m using a localization aid…

#82 · · design

CSS: The Maintenance Issue #1 and How You Can Avoid It

The biggest—as most unnecessary—maintenance issue in web development is, as my recent research shows, style sheet naming and integration. Web developers use inadvisable style sheet names and inadvisable ways to integrate style sheets that force them…

#81 · · html, css, maintainability

Notes on XML, Elements, and Attributes

Knowledge of the design of markup languages is something I consider beneficial for my job as a web professional. A few notes on XML design, inspired by internal and external documentation.

#80 ·

Why CSS Needs No Variables

CSS variables and constants are one of the top features web developers are asking for in web development fora, magazines, blogs, and on W3C’s www-style. Following a concept written by Daniel Glazman and Apple’s Dave Hyatt, the WebKit rendering engine…

#79 · · css

The Stupidest Style Sheet Name Ever

The last name you want to pick for your style sheet is “style.css”. Why is “style.css” such a poor CSS file name? The main reason is maintenance…

#78 · · css

CSS: Style the Non-Obvious

One of the qualities you have to acquire as a web developer is to see the non-obvious, and to use that skill to your code’s advantage. Let me explain by two simple examples.

#77 · · css