The Web Standards Project » Opinion http://www.webstandards.org Working together for standards Fri, 01 Mar 2013 18:30:30 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 HTML5 logo: W3C takes a step in the right direction http://www.webstandards.org/2011/01/28/html5-logo-w3c-takes-a-step-in-the-right-direction/ http://www.webstandards.org/2011/01/28/html5-logo-w3c-takes-a-step-in-the-right-direction/#comments Fri, 28 Jan 2011 20:32:04 +0000 cmills http://www.webstandards.org/?p=2008 After receiving a wave of negative feedback concerning the HTML5 logo, the W3C have made steps towards righting things. If you read the HTML5 logo FAQ, you’ll see that they’ve made some significant changes, including adding this:

Is W3C saying that CSS3 is part of the HTML5 specification?

No. However, many HTML5 Web sites and applications do take advantage of CSS3 for styling and presentation.

This is a good start, but there is still a lot to be done. The main HTML5 logo page still includes non-HTML5 (or event HTML5 web app-related) technologies such as CSS3, SVG, etc. And the Badge Builder still assembles a badge that makes these technologies appear subordinate to HTML5 as opposed to framing them as complementary, but distinct entities. We hope the FAQ change is not the end of their efforts to fix the potential confusion they have caused and that they will continue putting things right over coming days.

On a related matter…

As you probably heard, the WHATWG has decided to drop the “5” from their work on the HTML language:

…we realised that the demand for new features in HTML remained high, and so we would have to continue maintaining HTML and adding features to it before we could call “HTML5″ complete, and as a result we moved to a new development model, where the technology is not versioned and instead we just have a living document that defines the technology as it evolves.

At first blush, many of us were a little distraught by this decision because we thought the W3C might decide to follow suit, but after thinking on it a bit, the decision makes sense: the WHATWG can work on the HTML markup language in a fluid way and the W3C can take snapshots of that work and christen it with a version number for reference purposes.

Some might argue that version numbers are meaningless on the ever-evolving web, but they do help us establish mile-markers or guideposts which aid in both education and accountability. Sure, both versions 4 and 5 of HTML are still HTML, but, as the saying goes, you can’t build on shifting sands. It’s frustrating to teach from an ever-changing spec. The same goes for authoring to one. Some manner of stability is necessary so you know what is “true” now (or at least at some point in time), even if those circumstances may change in six months or six years. Not having a version number will make it really hard to educate people about the current set of new HTML features, and how they differ from the old version (which rather contradicts the purpose of the HTML5 logo in the first place).

Not that there was really a question, but we stand by our sentiment that the final (as in W3C) version of HTML5 should continue having a version number while the version-less WHATWG version is used for continuing development.

]]>
http://www.webstandards.org/2011/01/28/html5-logo-w3c-takes-a-step-in-the-right-direction/feed/ 4
Web standards in China http://www.webstandards.org/2008/11/24/web-standards-in-china/ http://www.webstandards.org/2008/11/24/web-standards-in-china/#comments Mon, 24 Nov 2008 12:22:01 +0000 hswan http://www.webstandards.org/?p=1163 En plus des versions anglaise et chinoise, l’article est désormais également disponible en français. Merci Armony

In early October I was lucky enough to spend some time in China talking to web professionals and students alike about web standards and their current status. It was an interesting couple of weeks that really opened my eyes to what the challenges are when following best practices. What hit me most is that those who support standards are a small and often isolated voice with little or no resources in Chinese to help back up or explain why we need standards and what the benefits are. Here I give a broad overview of what I learnt, challenges and hopefully some ideas of how we can help improve things.

Please do leave a comment if you have any suggestions, thought or insights. I’d also like to expand on the list of resources below so if you have any then post links and I will update the list.

Market forces

In the main those drivers that we see supporting web standards in some European countries, Australia and the States almost act as the opposite in China. There is no legal requirement to make your website accessible and market forces don’t seem to provide a significant enough push. Market forces is an interesting one. I’ve long held that the business case around web standards is essential even in a country that has a legal requirement for sites to be, for example, made accessible. The reasoning for this is that a site owner may be aware they legally have to make a site accessible but unless they see the direct benefit to them they may not implement accessibility properly and instead merely opt to do the bare minimum that needs to be done to comply with the law.

Currently in China there is a weak business case for web standards for a number of reasons. For one Internet Explorer 6 is still the dominant browser with a 95% market share. In general people are tied into using IE6 as most e-commence sites rely on ActiveX to work. This means that there is a trend towards building web pages that only work in IE6 with other browsers given less focus. This is gradually changing however with the rise of alternative browsers such as Opera, Safari and Firefox and Google Chrome. In fact the arrival of Google Chrome did a lot to raise awareness of alternative browsers in the web design community. Developers I spoke to however were very quick to point out that while they may use an alternative browser to IE when building and testing sites they still made heavy use of IE in day to day browsing simply because so many sites depend on it.

This lack of demand for compliant websites is a problem as without the demand there is little incentive for individual developers as well as companies. This may change however, especially as more and more multinationals outsource and base their development work there. With this increasing hopefully the trickle down theory will hold true and multinationals will have an impact on raising knowledge and awareness. When I asked one developer from Microsoft how he got into web standards he said that it was because the company sent over someone especially to train employees in standards based development. This was great to hear and certainly a key channel for advocating web standards. Opera, a long time champion of web standards (disclaimer, I work for Opera but all opinions are my own) are also playing an active role in advocating web standards. It’s at the heart of the development cycle in the Chinese office and the team are also very active in taking part in meet-ups and conferences.

Legal support

While there is a lack of concrete law to support accessible websites it was interesting to see how the Olympics had affected awareness. Public spaces, streets and buildings were much more accommodating and accessible as a result of the games and had done much to make people more aware. This is a start at least and links in well with the UN Convention for the Rights of Persons with Disabilities which China ratified in July of 2008. The Convention is the first international legally-binding convention designed to protect and promote the rights of persons with a disability. As China has ratified the Convention they now have to legally support access to information, recreation, employment and education. As Article 9 states:

“State Parties shall also take appropriate measures to…promote access for persons with disabilities to new information and communications technologies and systems, including the Internet”.

It remains to be seen the direction this will take but at least China is signed up.

Grass roots advocacy

Most exciting of all was the passion and commitment shown by many web professionals I spoke to. There are some influential bloggers in China who are doing great things to promote standards. Notable bloggers include Jun Chen Wu and Xian An AKA Real Lazy. When talking with Xian An he mentioned that back in 2005, when he first started blogging about standards, he was getting around 1000 hits per day. This seemed to prove that there was a desire for people to learn more or, even if they were not researching for information about standards directly, they are landing on his site which was able to introduce standards.

This seemed to make sense as all the developers I spoke to said they they were more or less self taught. As with many countries web development and standards aren’t always covered in university courses so designers and developers have to self teach. One big drawback here however is the lack of resources in Chinese. This is compounded by the fact that while some ebooks exist they can be too expensive to buy for many people.

Probably most exciting while I was there however was the opportunity to take part in the first ever Web Standards Cafe in Beijing sponsored by Opera. The subject was Web Standards and Web 2.0 and focused largely on how we can support web standards in China. Combining grass roots advocacy such as this with BarCamps I think is a positive way forward.

Supporting web standards in China

There a few things that we can start doing now to help promote web standards and accessible web design in China. It may seem like a daunting task but if this is tackled bit by bit there is no reason why standards can’t become more popular. As the old Chinese saying goes “Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand”. It’s not long ago that in Europe, Australia and the States that we were fighting for basic adherence of web standards, it’s worth while to look back and learn from that experience. For now I see the following as being instrumental to enabling web standards.

  • Translated resources – top of the list has to be the availability of translated and free resources for people to use. Currently many individuals have contributed their time to translating (see the resources section below) but I can’t help thinking that larger organisations should contribute to these efforts. Check out instructions and guidance on translating W3C resources for more information.
  • Multinational responsibility – large international organisations who actively promote and support web standards internationally should do what they can to help support web standards locally in China. This could be done via training in-house, sponsoring free or affordable courses or helping translate resources into Chinese. This should not be restricted to China only.
  • Grass root advocacy – developers understand the challenges and problems developers face better than anyone else. Advocacy through blogs, forums, BarCamps and Web Standards Cafe are always a useful way to go. This may take a different shape in China to suit cultural norms but communication and sharing have to be at the root.

So if you are a blogger, a developer, someone in a position to translate or communicate knowledge within your organisation then share what you have. As I mentioned above please do leave a comment if you have any suggestions, thought or insights. I’d also like to expand on the list of resources below so if you have any then post links and I will update the list.

Resources

For a full list of translated standards in Chinese visit the W3C translation page.

Finally, a huge thank you to Jun Chen Wu for the translation.

Web标准在中国

在十月初的时候,我有幸在中国呆上了一段时间,与Web领域的专家、学生等交流Web标准以及他们的现状。很有意思的几个礼拜,也让我大开眼界。印象最深刻的,在中国推行Web标准的仍在少数,并且通常是孤立无援的,无法实施、无法去解释为何需要标准及标准的价值。所以这里我想写一下我所了解的情况、面对的挑战和一些希望能有效的方法。

如果你有任何意见建议,欢迎留言!如果你有相关内容链接,也欢迎提供,我会更新文末的资源列表。

市场力量

在中国,驱动Web标准的主要动力与欧洲国家、澳大利亚以及美国几乎是相反的。没有任何法律要求你的网站具备可访问性(Accessibility),整个市场也起不到什么推动作用。市场的推动很有意思。我经历过的那些商业项目,Web标准都是很重要的基础,即便是在有法律约束的国家。为什么说市场推动很有意思呢,因为网站的拥有者虽然清楚法律要求网站达到可访问性要求,但除非看到切实的利益,否则仅仅会只花最小的成本去满足法律上的要求。

目前在中国,Web标准因为一些原因在商业上比较脆弱。比如IE6仍然占据浏览器市场份额的95%。大部分依赖于ActiveX控件才能运行的电子商务网站使得人们必须用IE6。这就导致了在制作网页的时候趋向于满足IE6,而很少的关注其他浏览器。伴随着Opera、Safari、Firefox、Google Chrome使用率的上升,这种状况正在逐渐改善。实际上,Google Chrome的问世让Web设计届更加关注浏览器兼容性。开发者们也谈到了,虽然他们经常使用IE外的浏览器来开发和测试网站,但仍需要不时的使用IE,仅因为很多网站依赖于它。

对网站兼容性的低需求导致了开发者、公司都没什么动力。不过这应该会改善,尤其是越来越多的跨国公司外包或将开发工作放在中国。希望这种逐渐渗透能够生效,在中国的外国公司应该会对知识的提升有所帮助。我问过一位Microsoft的开发者是如何开始接触Web标准的,他说因为公司请了一些专家来培训Web标准的开发知识。这是相当好的,而且是推广Web标准发展的一个关键渠道。Opera一直是Web标准的拥护者(声明一下,我为Opera工作但此处并非借机推广),也一直在推广Web标准,在中国的也是核心的开发部分,开发团队也是非常活跃的参与着聚会、会议。

法律支持

因为没有具体的法律要求网站具备可访问性,我们来看看奥运会对此的影响,很有意思。因为比赛,公共区域、街道和建筑已经具有很好的适应性及无障碍措施,也让人更清醒的意识到这一点。最起码这是一个开始,且中国已与2008年7月批准了联合国 残疾人权利公》。这是历史上第一个保障和促进残障人士权利的国际性法律公约。中国批准了此公约,意味着残障人士在获取信息、康复、就业和教育方面都有了法律依据。如公约第九条所说:

“缔约国应当采取适当措施…促使残疾人有机会使用新的信息和通信技术和系统,包括因特网”

接下来还有很长的路要走,但起码中国已经加入了。

基层的拥护

最让人激动的是我从很多Web领域的专家身上看到的激情和责任感。在中国有一些有影响力的博客在推广着Web标准。比如 JunChenRealazy。与Realazy沟通时他提到了2005年时候他第一次开始写关于标准的博客,每天能有接近1000的点击。这或许意味着人们渴望学习更多相关知识,即使他们并不是真正在搜寻这些信息,但他们访问到他的网站,看到了关于标准的介绍。

与我交流的几乎所有开发者都说他们基本上是自学的。在很多国家,Web开发和标准并非都存在于大学课程中,所以设计师、开发者必须自学。在中国,最大的学习障碍是缺乏资源。对大部分人来说一些昂贵的电子书也加剧了学习障碍。

我最激动的事就是参加了在中国的第一次Web Standards Café。在北京举办,由Opera赞助,主题是Web标准和Web 2.0,基本上讨论集中在在中国我们怎样支持Web标准。结合开发者和BarCamps这种聚会,我认为这是一条正确的道路。

支持Web标准,在中国

有些事我们已经可以开始做起,来促进Web标准和网站可访问性设计在中国的发展。可能看上去有些吓人,但从一点点做起,Web标准不可能不会变的更加流行。如同一句中国古话说的:”纸上得来终觉浅,绝知此事要躬行”。不久前我们在欧洲、澳洲和美国也还在努力为Web标准做一些基础工作,这些经验值得我们回过头去学习。目前我认为以下途径对Web标准在中国的发展是有利的:

  • 翻译资源- 首要的任务就是有中文的、免费的资源供大家使用、学习。当前很多个人已经投入到翻译中(见最后的资源部分),但我忍不住想那些大公司也应该贡献他们的力量。详见W3C资源翻译介绍和指南
  • 跨国公司的责任 – 大的国际公司在国际范围内推广和支持Web标准,也应该尽他们所能帮助中国的Web标准发展。比如通过内部培训、赞助或者提供课程或者中文化Web标准资源。当然也不仅限于中国如此。
  • 基层的拥护 – 开发者比任何人更了解面对的机遇和挑战。博客、论坛、BarCamp聚会、Web Standards Café 等形式都是比较有效的途径。这可能会根据中国文化的不同采取不同的形式,但本质上一定是交流和分享。

如果你是一个博客、开发者或者企业内部的布道者,请一定分享你的经验。如同我上文所说,如果你有任何意见建议,欢迎留言。如果你有任何相关链接希望分享,我也会更新拓展文末的资源列表。

资源

]]>
http://www.webstandards.org/2008/11/24/web-standards-in-china/feed/ 35
What the Target settlement should mean to you http://www.webstandards.org/2008/08/28/what-the-target-settlement-should-mean-to-you/ http://www.webstandards.org/2008/08/28/what-the-target-settlement-should-mean-to-you/#comments Thu, 28 Aug 2008 17:54:11 +0000 mattmay http://www.webstandards.org/?p=1154 It’s a question many of us in accessibility have been waiting for years to be answered.

Does the Americans with Disabilities Act apply to the web?

Sadly, accessibility’s ultimate cliffhanger once again reaches an awkward denouement, leaving us deflated, and looking at yet another boring sequel. The National Federation of the Blind v. Target lawsuit, which promised to be a landmark case in determining the applicability of the ADA, was settled on Wednesday. The key provisions of the settlement have Target paying $6 million in damages to the members of the class action (which consists of legally blind people who have been denied Target’s online services), and agreeing to remove accessibility barriers to blind users by February of 2009.

As with most settlements, however, Target admits no wrongdoing, and so the ADA’s applicability to the web remains fuzzy. (Especially to a non-lawyer such as myself; please don’t consider this as anything like legal advice.) The legal ramifications of this case may not be as clear-cut as some of us would have liked, but it’d be hard to argue that after this decision people with disabilities are in any way on shakier legal ground.

One twist in this case was the application of two California laws: the Disabled Persons Act and the Unruh Civil Rights Act. Both of these offer protections over and above those of the ADA, for California citizens, such as the named plaintiff, Bruce Sexton. Even if we ignore the ADA for a moment, this means that sites who do business in California could be liable under these laws for denying access.

Whatever the legal ramifications may be, those of us who advocate accessibility don’t want to make this into a series of legal battles. There are no winners there. (Okay, besides the lawyers.) We want people to realize that engaging with people with disabilities well before the threat of legal action arises is always the best approach. When a company stalls and takes a case to court, delays, public relations nightmares, and skyrocketing costs are all that happens. In this case, Target will pay out well over $6 million in damages, when one-tenth–maybe even a hundredth–of that amount could have paid a dream team of accessibility-savvy designers ready to solve the actual issues at hand.

The question that’s on our minds today–whether ADA applies or not–ultimately doesn’t make much difference. In fact, it’s a major distraction from the heart of the matter. People of all kinds want to participate in all the activities the web has to offer. And many disability advocacy groups are reaching out to site admins to raise awareness of the barriers they face. The best thing you can do is to prepare yourself and your site with a little education and some fine tuning. When you’re in a lawyer’s office talking about the ADA, or any other accessibility statute, chances are you’ve already missed out on the most important part of the conversation. And that’s going to cost you, whether you win or lose.

Update: This post has been translated into Polish.

]]>
http://www.webstandards.org/2008/08/28/what-the-target-settlement-should-mean-to-you/feed/ 16
WaSP Round Table: IE8′s Default Version Targeting Behavior http://www.webstandards.org/2008/02/24/wasp-round-table-ie8s-default-version-targeting-behavior/ http://www.webstandards.org/2008/02/24/wasp-round-table-ie8s-default-version-targeting-behavior/#comments Sun, 24 Feb 2008 17:45:35 +0000 agustafson http://www.webstandards.org/2008/02/24/wasp-round-table-ie8s-default-version-targeting-behavior/ On 16 February, Web Standards Project Members Faruk Ateş, Porter Glendinning, and I got together with Chris Wilson, Platform Architect for Internet Explorer to talk about IE8′s proposed default version targeting behavior of having to opt-in to the browser’s new standards mode.

As you may recall, the version targeting opt-in requires developers to use the new X-UA-Compatible HTTP header (or the meta equivalent) in order to take advantage of the standards-based layout and scripting improvements in the IE8. Under the current setup, any page/server not opting-in to would continue to render and behave as though it were being viewed in IE7, even if the site was being viewed on IE8, IE9, or IE1000. This doesn’t sit well with many standards-aware developers who think that the IE team got it backwards; many of them believe that you should have to opt-in to keep your site from being interpreted by newer layout and scripting engines. (Folks interested in hearing both sides of that argument should check out the latest issue of A List Apart, where Jeremy Keith and Jeffrey Zeldman square off on the topic.)

In our “round table” discussion, we talked about several proposals from the community that could help bring IE8′s standards mode to the masses, including:

  • encouraging Microsoft to ship a patch to IIS that automatically targets sites run on that server to IE7 (in hopes of avoiding the potentially catastrophic impact IE8 may have on intranets and the like);
  • shipping the IE8 beta with standards mode on by default just to see how many sites break; and
  • making IE8 a standalone browser, capable of being run side-by-side with IE7 to allow users the flexibility of using one broswer for some sites and the other for other sites.

If you are interested in listening to or reading a transcript of the discussion, you can do so by following one of these links:

I’d like to give special thanks to fellow WaSPs Glenda Sims and Steph Troeth for organizing, producing, and transcribing this Round Table.

This buzz has been translated into Polish.

]]>
http://www.webstandards.org/2008/02/24/wasp-round-table-ie8s-default-version-targeting-behavior/feed/ 22
The good, the bad, and the ugly – iPhone edition http://www.webstandards.org/2007/08/22/the-good-the-bad-and-the-ugly-iphone-edition/ http://www.webstandards.org/2007/08/22/the-good-the-bad-and-the-ugly-iphone-edition/#comments Wed, 22 Aug 2007 19:30:14 +0000 agustafson http://www.webstandards.org/2007/08/22/the-good-the-bad-and-the-ugly-iphone-edition/ Since its release nearly two months ago, the iPhone has proven to be a rather disruptive device, not only in the mobile market, but on the web as well. With designers and developers scrambling to get a foothold in this new market, issues have surfaced and (in many cases) tempers have flared.

A few days ago, Scott Gilbertson declared “[t]he iPhone is Internet Explorer 4 all over again,” alluding to the walled-off nature of many web sites and apps being developed just for the iPhone (as they were back in the day with IE 4). Joe Hewitt was quick to reply, arguing that being like IE 4 is not such a bad thing, claiming that the devices drives innovation on the web, which is what’s needed.

So where does that leave us? Well, I’m not sure I’ve figured that out yet, but I wanted to put together some of my thoughts and see what you think as well.

The Good

The version of Safari packaged with the iPhone is, without a doubt, the best mobile browser I’ve seen to date. It renders normal web pages brilliantly and the pan and zoom functionality offers a pleasant alternative to the re-flow or squeeze-it-in display models of other mobile browsers.

The Bad

Two words: “standards support.” While mobile Safari performs brilliantly when it comes to CSS rendering, it does have a few problems.

  1. It does not apply handheld stylesheets – I can understand the use of screen styles when handheld stylesheets aren’t available, but it would be easy to include a switch to turn off screen styles and load handheld styles if a handheld stylesheet is encountered.
  2. Event handling – The iPhone introduces some new interaction models, but has not (according to the documentation or under user tests) given us a window into those actions (such as zoom, pan, etc.). Furthermore, as Joe points out, events like mouseover, mousemove, etc. are not supported. Sure, some of the traditional events have no meaning in the iPhone interface paradigm, but the virtual keyboard doesn’t even fire onkey* events and there’s no way to know if the user is scrolling.
  3. iUI – I feel kinda bad placing iUI in the “bad” list, but the markup required to make it work leaves a lot to be desired. It is a great interface, but it enforces some pretty awful coding practices. I’m hopeful it will get a little more attention on the standards end and move into the “good” category.

The Ugly

Alright, so the big ugly to me comes down to one thing and one thing only: iPhone only apps/sites.

Since its release, designers and developers have been building interfaces to their sites and applications for the iPhone. Unfortunately, many have been doing so in a way that leaves the remainder of the mobile web with nothing. Personally, I’ve been kind of torn about mobile segmentation as I feel it goes against the “write once, deploy everywhere” ideal of web standards, but I understand the need for stripped-down interfaces on mobile devices (due to the currently high cost of mobile bandwidth in many places, etc.). But now we are witnessing a schism within the mobile world, dividing it into people with the iPhone and everyone else. This, I feel, is bad for the web and particularly bad for the mobile web.

For the record, I don’t buy the argument that web standards stifle creativity; in fact I believe quite the opposite: web standards enable creativity. It is my firm belief that we owe a great deal of the innovation on the web today to web standards (including XHR, which, as you recall is not a standard…yet). It was only when we had a solid foundation upon which to build that our creations could reach such lofty heights.

So what do we do?

While it is arguable that the iPhone is a lot more fun to design and build for than other mobile browsers (even the venerable Opera Mini), that does not mean it’s OK to hang a sign on the door of your web shop reading “No Blackberries.”

Now don’t get me wrong, I am not saying that you should not support (or even cater to) the iPhone. All I am saying is that you should not support the iPhone and snub all other mobile devices. If you want to build a mobile interface to your app, do it like Twitter and others have. Writing a POSH interface is dead easy and, even with the lack of solid CSS support on most devices, it is usable by pretty much anyone on the mobile web. So start there. Then use progressive enhancement to add new layers of interaction to your mobile site/app. It not only makes sense, but it’s The Right Thing To Do™.

]]>
http://www.webstandards.org/2007/08/22/the-good-the-bad-and-the-ugly-iphone-edition/feed/ 27
Current browsers and the User Agent Accessibility Guidelines 1.0 http://www.webstandards.org/2007/05/20/current-browsers-and-the-user-agent-accessibility-guidelines-10/ http://www.webstandards.org/2007/05/20/current-browsers-and-the-user-agent-accessibility-guidelines-10/#comments Sun, 20 May 2007 19:02:40 +0000 plauke http://www.webstandards.org/2007/05/20/current-browsers-and-the-user-agent-accessibility-guidelines-10/ In web accessibility, you’ll often hear emphasis being placed on the duty of web authors to create accessible content. However, this is only one part of the web accessibility equation.

One that has been particularly close to me, or rather one that has provided me with a lot of opportunity to rant, is the responsibility of developers of user agents.

Any effort on the part of web authors to add accessibility features is rendered useless if browsers and assistive technologies don’t take advantage of them. User agent developers need to ensure that their products support these features and, most crucially, make them available to users in an accessible and obvious manner.

Although far from perfect, the W3C’s User Agent Accessibility Guidelines (UAAG) 1.0 do provide a good starting point.

What follows is a quick run-down of most of UAAG’s guidelines and checkpoints, annotated with comments, suggestions, personal gripes about current levels of implementation, and wishlists for future browser versions.

Admittedly a tad rough around the edges, this is a first attempt at crystallising some of the discussions I’ve had with fellow ATF colleagues, members from the W3C, and other accessibility aficionados.

Read the full article: Current browsers and the User Agent Accessibility Guidelines 1.0.

]]>
http://www.webstandards.org/2007/05/20/current-browsers-and-the-user-agent-accessibility-guidelines-10/feed/ 6
hAccessibility http://www.webstandards.org/2007/04/27/haccessibility/ http://www.webstandards.org/2007/04/27/haccessibility/#comments Fri, 27 Apr 2007 09:36:38 +0000 jcraig http://www.webstandards.org/2007/04/27/haccessibility/ By Bruce Lawson and James Craig. (German translation)

Microformats are a great idea. They allow the embedding of parsable, semantic data (like contact information and event details) into regular web pages. With the right plug-in, that information can be saved directly to your calendar program or address book. Like Microformats, a portion of web accessibility is about making web pages more machine-readable, and by doing so, making them more usable to human beings.

Most of the time, Microformats and the principles of accessibility coexist harmoniously.

Abbreviations in Microformats

HTML has an abbr element used for abbreviations. This element is used by assistive technology, including the most popular screen readers, to expand abbreviations such as ADA and lbs. The benefit to disabled users is that, the screen reader can decipher what the abbreviation means and say the appropriate, expanded version. For example, when a sighted individual sees, “20 lbs,” he will think, “20 pounds.” A screen reader will either try to pronounce the phonemes literally, or spell it out, in this case as “el bee ess.” The abbr element is the method to give the additional information (“pounds”) that makes it more comprehensible to the person listening:

20 <abbr title="pounds">lbs</abbr>

Microformats recommends the use of an abbr-design-pattern which, in some circumstances, is completely in line with the proper use of the XHTML <abbr> element. The Microformat, hCard, can use the abbr-design-pattern to specify country codes as fully-expanded, country names.

<abbr class="country-name" title="Japan">JP</abbr>

In this use, the benefit of <abbr> is twofold: screen readers can speak the word, “Japan” to vision-impaired users, and Microformats parsers can understand the address is in the country of Japan. This is the intended use of <abbr>; it’s accessible, and it’s extendable as a Microformat design pattern.

And the creator(s) saw that it was good.

hCalendar’s Original Sin

The creators of Microformats strayed from their accessible, semantic intentions when they extended the abbr-design-pattern to the datetime-design-pattern. This idea, though paved with good intentions, was a workaround for a browser bug and, like many others, has unintended, harmful side effects.

The datetime-design-pattern is a way to show a readable date (such as “March 12, 2007 at 5 PM, Central Standard Time”) to humans and a machine-readable date (such as the ISO 8601 formatted “20070312T1700-06”) to the Microformat parsers. When crossed with the abbr-design-pattern, the result is this.

<abbr class="dtstart" title="20070312T1700-06">
 March 12, 2007 at 5 PM, Central Standard Time
</abbr>

As you may have guessed from the previous examples, screen readers expanding the abbreviation will try to read the title element. JAWS helpfully attempts to render numeric strings into human-readable numbers, so “1234” is spoken “one-thousand two-hundred thirty-four” instead of “one two three four.” Given a title value of “20070312T1700-06”, JAWS and Window Eyes both try to read an ISO date string never intended to assault human ears:

Twenty million seventy-thousand three-hundred twelve tee seventeen-hundred dash zero six. (JAWS 8 on IE7: MP3, Ogg)

Though it may sound silly, the screen readers’ behavior is implemented according to the HTML 4 specification.

The content of the ABBR and ACRONYM elements specifies the abbreviated expression itself, as it would normally appear in running text. The title attribute of these elements may be used to provide the full or expanded form of the expression. (HTML 4, ABBR)

Unlike the ISO date format, the “full or expanded form” is intended to be human-readable. Yes, machine-readable, but for the consumption of a human, and in this case, spoken literally to a human. The Web Content Accessibility Guidelines (WCAG) explicitly defines the expansion of abbreviations as an accessibility advantage, and the most popular screen readers do so.

If an abbreviation fell in the forest…

There are debates about the semantics of the <abbr> element, and everyone is entitled to his own opinion. Is it legitimate to say “5 PM on January 5th” is an abbreviation because it omits the year? Probably. Is “5 PM on January 5th 2006” an abbreviation because it omits the time zone? Perhaps. We don’t contest that those human-readable dates are “abbreviations for a full-qualified date and time.” We contest that, according to the HTML specification, an ISO date string is not a legitimate, human-consumable, expanded form of that date and time.

What isn’t in question though, is that the use of an ISO 8601 date in an <abbr> title attribute renders the content inaccessible to users of assistive technology.

Accessibility, “in the wild.”

The Microformats group is vehemently opposed to hypothetical situations as the basis for a Microformat change. Real-world examples are often requested, or as they commonly phrase it, examples “in the wild.”

We remind the Microformats group that real-world screen reader implementations existed, according to spec and “in the wild,” long before the Microformats design patterns, and we encourage the group to respect those real-world implementations, rather than focusing on hypothetical situations such as:

In the future one could imagine a CSS rule and perhaps a CSS property or two that would automatically transform and present such ISO8601 dates from ‘title’ attributes of <abbr> elements into whatever datetime format the user preferred… (source)

What’s the Alternative?

The point of this article is not to offer a solution, but to shed light on an inaccessible practice that must change. We encourage the Microformats group to consider the problem, whether or not they accept any of the following, proposed solutions. That said, we offer these ideas as carrots to accompany our cudgel.

Originally, we considered the datetime attribute, found only on <ins> and <del> elements, and wished that we could use the datetime attribute instead of a title on a span, except it would be invalid code. Some have proposed using custom attribute namespaces for Microformat data, but the Microformats group is strongly opposed to this, and for a simple and valid reason. Microformats are intended to be “simple conventions for embedding semantic markup in human-readable documents.” Opening the floodgates to custom DTDs and namespaces would quickly raise the complexity level of Microformats to that of RDF, greatly reducing its adoption and therefore its relevance.

So we went back to basics: the existing elements and attributes of plain old semantic HTML.

The datetime-design-pattern was initially proposed as a workaround for a browser bug where the object element and the data attribute were a more appropriate choice. The authors knew this, but could not determine a way to structure it without browser bugs.

We looked again and found a way for Microformats and accessibility to play nicely once more; a way inspired by Microformats’ own empty object include-pattern.

The Object Example

<span class="dtstart">
 March 12, 2007 at 5 PM, Central Standard Time
 <object>
  <param name="value" value="20070312T1700-06" />
 </object>
</span>

The markup is still fairly simple, it retains its semantic purity, and it’s accessible. But…

What’s the Catch?

The catch? Okay. Even when the browsers are instructed to hide the <object>, there are still some minor display bugs in Internet Explorer (screen shot) and Safari (screen shot). At the time of this writing, Internet Explorer (version 7) doesn’t honour the space characters in the text around the object, and Safari (WebKit nightly) adds extra line breaks.

Many developers could overlook these flaws. Most designers would not. It’s an easy CSS fix: wrap the object in one extra <span> element and hide it instead.

The Hacked (Ugly) Object Version

<span class="dtstart">
 March 12, 2007 at 5 PM, Central Standard Time
 <!-- the extra span element to be hidden -->
 <span style="display:none">
  <object>
   <param name="value" value="20070312T1700-06" />
  </object>
 </span>
</span>

Unfortunately this code sample fails the “ugly” test and isn’t as rooted in simplicity as we’d prefer, so what about some other, simpler variations?

The Span Title Version

<span class="dtstart" title="20070312T1700-06">
 March 12, 2007 at 5 PM, Central Standard Time
</span>

The Empty Span Version

<span class="dtstart">
 March 12, 2007 at 5 PM, Central Standard Time
 <span class="value" title="20070312T1700-06"></span>
</span>

Like the abbr-design-pattern, both of the previous examples use the title attribute to store the ISO data. The second version just avoids GUI tool tips. With custom verbosity settings, it is possible that a screen reader user may hear the text spoken in either example, but that circumstance is much less likely than a fully-expanded ABBR.

We are not recommending the abolishment of the abbr-design-pattern, just its misuse. Again, we encourage the Microformats group to consider the problem, whether or not they accept any of the proposed solutions. All of the examples listed are more accessible than the abbr-design-pattern. Check the final examples for details.

Like we said, we like Microformats. Their simplicity and usefulness means that they’re on the verge of widespread acceptance. We urge the Microformats community to re-evaluate the accessibility of the specification now, before the technology goes mainstream and it’s too late.

This article was co-authored by Bruce Lawson and James Craig, and incorporates feedback from other members of the Accessibility Task Force.

(Added 13 February 2008) “Configuring links in Screen readers” by Mike Davis looks at the screenreader accessiiblity of the Microformat Include Pattern. (Bruce)

]]>
http://www.webstandards.org/2007/04/27/haccessibility/feed/ 96
Have Your Say about the Future of HTML http://www.webstandards.org/2006/11/07/have-your-say-about-the-future-of-html/ http://www.webstandards.org/2006/11/07/have-your-say-about-the-future-of-html/#comments Tue, 07 Nov 2006 18:43:09 +0000 mollyeh http://www.webstandards.org/2006/11/07/have-your-say-about-the-future-of-html/ This article has been written on behalf of the Web Hypertext Application Technology Working Group (WHATWG) and has been cross posted on The Web Standards Project, Lachy’s Log, Molly.com and 456 Berea Street.

There’s been a lot of discussion about the W3C’s recent decision to continue the development of HTML around the web lately. Blog posts, and messages that have been sent to mailing lists or posted on forums, revealed many questions and misconceptions about the future of HTML (including HTML 5 and XHTML 2), the WHATWG and the W3C’s new HTML Working Group.

Some people asked for new features; others were wondering if formerly deprecated elements would return; some had comments and criticisms about the decision itself, the WHATWG or W3C process; and a few raised concerns about the WHATWG and W3C ignoring the needs of particular groups. The WHATWG, who are in the process of developing the next version of HTML (called HTML 5), feel that it’s important to not only listen to all of this feedback, but to actively seek it out and respond so that we can develop a language that meets your needs.

There are many ways in which you can participate. The most direct approach is to make your voice heard by subscribing to the mailing list. However, not everyone has the time to participate, or keep up with the high volume of messages sent to that list. Some people feel that the current drafts of HTML 5 (Web Applications and Web Forms) are rather daunting. Others feel that because they can’t afford the substantial W3C membership fees, they wouldn’t be listened to anyway.

If, for any reason, you feel that you either cannot participate, or would be uncomfortable in doing so, that certainly doesn’t mean you shouldn’t be heard. The WHATWG needs to hear from you and wants to know what you think about HTML.

  • Are there any limitations with HTML that you would like to see fixed?
  • Do you have any ideas for new features?
  • Is there anything you can do now in HTML, but would like to see improved?
  • Do you have any concerns about the development process?
  • Do you have any feedback about the new features in the current drafts?
  • Do you have any questions about HTML 5?

Any questions, comments, criticisms, complaints or feature requests are welcome. Now is the time to speak up. No comment is too dumb; no question is too hard or too simple; no criticism is too harsh. If you have anything at all to say, we are listening.

Please leave a comment or post a link to an article that you have written. You will be heard and we will try to respond.

Update: This post has been translated into the following languages. This list will be updated as translations become available. Feel free to comment in the language you’re most comfortable with.

]]>
http://www.webstandards.org/2006/11/07/have-your-say-about-the-future-of-html/feed/ 106
All aboard the PAS 78 gravy train http://www.webstandards.org/2006/05/11/all-aboard-the-pas-78-gravy-train/ http://www.webstandards.org/2006/05/11/all-aboard-the-pas-78-gravy-train/#comments Fri, 12 May 2006 01:22:35 +0000 plauke http://www.webstandards.org/2006/05/11/all-aboard-the-pas-78-gravy-train/ With the extensive media coverage following its launch, a large number of businesses, education establishments and government agencies with a stake in the UK online market should be aware of PAS 78 – Guide to Good Practice in Commissioning Accessible Websites. Partly due to the cost associated with this document, though, they may not have actually read through it…which is probably what the PR office of BrowseAloud are counting on – otherwise it would be blatantly obvious to any reader that this little news item on the BrowseAloud site, issued two weeks after the official launch of the PAS, is somewhat stretching the truth:

Texthelp is recommended in PAS 78 for their text-to-speech software product Browsealoud, that addresses those with Cognitive & Learning Difficulties.

Now, try as I might I cannot find any particular endorsement or recommendation of their product in the PAS – and rightly so, as it’s meant to be a fairly neutral, non-vendor specific document. There is only one passing mention of Texthelp (developers of BrowseAloud) in “Annex A (informative) – Suggested user profiles” under the “Cognitive and learning” section (page 36):

Users with medium dyslexia, eg users who might change site colours and text formatting, and who in many cases might supplement this with text to speech software for reading sections of text (such as TextHelp).

So, is this going to be the new trend for marketing accessibility products and services in the UK for the coming years? Boosting one’s credibility by making references to the PAS, even going as far as claiming a recommendation? Well, I guess it’s a bit more respectable than planting fake users such as Dyslexic Duncan on forums to extoll the virtues of your product…

Incidentally, on both occasions I’ve contacted BrowseAloud for an official response…but to no avail.

And while we’re on the topic, a word of advice to web design agencies: you can stop amending your lists of services to include “websites that are PAS 78 compliant”. The PAS is not a new set of accessibility guidelines. It’s a document aimed at people who commission websites. It’s completely nonsensical for a company that develops websites to claim that their products and services comply with the PAS. At a pinch, you could say that your development processes are in line with some of the recommendations of the PAS, particularly the user testing aspects. But even that is really stretching it, in my not so humble opinion. Stick with claiming WCAG compliance. Heck, the PAS itself has the following to say about companies claiming to create sites that are “DDA-compliant”:

9.1.1 It is not possible to provide a definitive specification for a fully accessible website which will satisfy the requirements of the DDA. Website commissioners should therefore be sceptical if contracting companies declare that they will create websites that are “DDA-compliant” or “compliant with the law”. Conversely, website commissioners should not require a web designer to design a website that is “DDA-compliant” or “compliant with the law”. Until case law has been established such claims cannot be made or honoured.

If that is the general advice given with regards to companies claiming “DDA-compliance”, I’d imagine that site commissioners should be even more skeptical of companies claiming “PAS 78 compliance”.

]]>
http://www.webstandards.org/2006/05/11/all-aboard-the-pas-78-gravy-train/feed/ 11
Lessons that the standardization process can teach us http://www.webstandards.org/2006/05/01/lessons-that-the-standardization-process-can-teach-us/ http://www.webstandards.org/2006/05/01/lessons-that-the-standardization-process-can-teach-us/#comments Tue, 02 May 2006 04:41:21 +0000 bhenick http://www.webstandards.org/2006/05/01/lessons-that-the-standardization-process-can-teach-us/ WaSP emeritus Anil Dash has been working under the auspices of Six Apart, his employer, to develop Trackback into a standard technology.

In the process he reports that he’s learned a lot about the twists and turns of the standards process, and three of his points beg emphasis here:

  • Users shouldn’t have to know or care about this stuff.
  • Being able to point to real-world benefits is important.
  • Shipping an implementation pretty much trumps everything else. Most technical debates are eventually settled by looking at what is in current use. Sometimes this is phrased as “letting the market decide.”

I immediately see corollaries to these statements that are highly relevant to the efforts of standards advocates, software vendors, and contributors to the W3C process, which are laid out respectively.

On the web, the line between users and publishers is blurry, and becoming more indistinct every day. This means that technologists must make tools that suit the intended audience without creating mangled output. However, they shouldn’t bother trying to please all the people all the time; common sense describes where that effort winds up.

The entire W3C process is oriented these days toward the Semantic Web, and what energy they have to spare is spent catching up to what’s already been implemented and put on the market. In the meantime, there doesn’t seem to be much direct interaction between end users of web technologies and the W3C. The consequence of this state of affairs is that the best heads with a stake in the process are up in the clouds, rather than doing work that will benefit users in the near term. That work appears too often left directly and solely to software vendors themsevles, which has brought us such <sarcasm>winners</sarcasm> as ActiveX and GoLive.

It will be interesting to see if IE7 is more than emperor’s new clothes, once it ships. It’s no secret that Internet Explorer 6 is the new Netscape 4…

The balance of the value in this post will be in the comments, so have your say!

]]>
http://www.webstandards.org/2006/05/01/lessons-that-the-standardization-process-can-teach-us/feed/ 17