Print this page|
Web Standards in Today's China
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.
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.
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 Xia Nan or Real Lazy as he is known. When talking with Xia 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.
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.
åœ¨åæœˆåˆçš„æ—¶å€™ï¼Œæˆ‘æœ‰å¹¸åœ¨ä¸å›½å‘†ä¸Šäº†ä¸€æ®µæ—¶é—´ï¼Œä¸Ž 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æ ‡å‡†ã€‚æ¯”å¦‚ JunChenã€Realazyã€‚ä¸ŽRealazyæ²Ÿé€šæ—¶ä»–æåˆ°äº†2005å¹´æ—¶å€™ä»–ç¬¬ä¸€æ¬¡å¼€å§‹å†™å…³äºŽæ ‡å‡†çš„åšå®¢ï¼Œæ¯å¤©èƒ½æœ‰æŽ¥è¿‘1000çš„ç‚¹å‡»ã€‚è¿™æˆ–è®¸æ„å‘³ç€äººä»¬æ¸´æœ›å¦ä¹ æ›´å¤šç›¸å…³çŸ¥è¯†ï¼Œå³ä½¿ä»–ä»¬å¹¶ä¸æ˜¯çœŸæ£åœ¨æœå¯»è¿™äº›ä¿¡æ¯ï¼Œä½†ä»–ä»¬è®¿é—®åˆ°ä»–çš„ç½‘ç«™ï¼Œçœ‹åˆ°äº†å…³äºŽæ ‡å‡†çš„ä»‹ç»ã€‚
ä¸Žæˆ‘äº¤æµçš„å‡ ä¹Žæ‰€æœ‰å¼€å‘è€…éƒ½è¯´ä»–ä»¬åŸºæœ¬ä¸Šæ˜¯è‡ªå¦çš„ã€‚åœ¨å¾ˆå¤šå›½å®¶ï¼ŒWebå¼€å‘å’Œæ ‡å‡†å¹¶éžéƒ½å˜åœ¨äºŽå¤§å¦è¯¾ç¨‹ä¸ï¼Œæ‰€ä»¥è®¾è®¡å¸ˆã€å¼€å‘è€…å¿…é¡»è‡ªå¦ã€‚åœ¨ä¸å›½ï¼Œæœ€å¤§çš„å¦ä¹ éšœç¢æ˜¯ç¼ºä¹èµ„æºã€‚å¯¹å¤§éƒ¨åˆ†äººæ¥è¯´ä¸€äº›æ˜‚è´µçš„ç”µåä¹¦ä¹ŸåŠ å‰§äº†å¦ä¹ éšœç¢ã€‚
æˆ‘æœ€æ¿€åŠ¨çš„äº‹å°±æ˜¯å‚åŠ äº†åœ¨ä¸å›½çš„ç¬¬ä¸€æ¬¡Web Standards Caféã€‚åœ¨åŒ—äº¬ä¸¾åŠžï¼Œç”±OperaèµžåŠ©ï¼Œä¸»é¢˜æ˜¯Webæ ‡å‡†å’ŒWeb 2.0ï¼ŒåŸºæœ¬ä¸Šè®¨è®ºé›†ä¸åœ¨åœ¨ä¸å›½æˆ‘ä»¬æ€Žæ ·æ”¯æŒWebæ ‡å‡†ã€‚ç»“åˆå¼€å‘è€…å’ŒBarCampsè¿™ç§èšä¼šï¼Œæˆ‘è®¤ä¸ºè¿™æ˜¯ä¸€æ¡æ£ç¡®çš„é“è·¯ã€‚
æœ‰äº›äº‹æˆ‘ä»¬å·²ç»å¯ä»¥å¼€å§‹åšèµ·ï¼Œæ¥ä¿ƒè¿›Webæ ‡å‡†å’Œç½‘ç«™å¯è®¿é—®æ€§è®¾è®¡åœ¨ä¸å›½çš„å‘å±•ã€‚å¯èƒ½çœ‹ä¸ŠåŽ»æœ‰äº›å“äººï¼Œä½†ä»Žä¸€ç‚¹ç‚¹åšèµ·ï¼ŒWeb æ ‡å‡†ä¸å¯èƒ½ä¸ä¼šå˜çš„æ›´åŠ æµè¡Œã€‚å¦‚åŒä¸€å¥ä¸å›½å¤è¯è¯´çš„ï¼š"çº¸ä¸Šå¾—æ¥ç»ˆè§‰æµ…ï¼Œç»çŸ¥æ¤äº‹è¦èº¬è¡Œ"ã€‚ä¸ä¹…å‰æˆ‘ä»¬åœ¨æ¬§æ´²ã€æ¾³æ´²å’Œç¾Žå›½ä¹Ÿè¿˜åœ¨åŠªåŠ›ä¸ºWebæ ‡å‡†åšä¸€äº›åŸºç¡€å·¥ä½œï¼Œè¿™äº›ç»éªŒå€¼å¾—æˆ‘ä»¬å›žè¿‡å¤´åŽ»å¦ä¹ ã€‚ç›®å‰æˆ‘è®¤ä¸ºä»¥ä¸‹é€”å¾„å¯¹Webæ ‡å‡†åœ¨ä¸å›½çš„å‘å±•æ˜¯æœ‰åˆ©çš„ï¼š