(Add 'aria-label.zh-CN' - internationalization, i18n, localization) |
m (Remove excess commenting.) |
||
Line 1: | Line 1: | ||
− | + | Accessibility fixes including WAI-ARIA roles for Baidu.com Chinese search. |
|
<source lang="yaml"> |
<source lang="yaml"> |
||
− | # Should it be `_CONFIG_`, `_config_`, `_manifest_`...? |
||
_CONFIG_: |
_CONFIG_: |
||
− | # Required. Unique identifier (Was: `title`; Was: Free text, possibly truncated.) |
||
name: Baidu search |
name: Baidu search |
||
− | # |
+ | # description is optional. |
⚫ | |||
− | description: Fixes including WAI-ARIA roles for Baidu.com Chinese search engine. |
||
⚫ | |||
include: |
include: |
||
- http://*.baidu.com/* |
- http://*.baidu.com/* |
||
- http://baidu.com/* |
- http://baidu.com/* |
||
− | # Optional, desirable. |
||
test_urls: |
test_urls: |
||
- http://www.baidu.com/s?wd=%E6%B8%85%E6%98%8E%E8%8A%82 |
- http://www.baidu.com/s?wd=%E6%B8%85%E6%98%8E%E8%8A%82 |
||
− | # Was `lang` |
||
default_locale: en-GB |
default_locale: en-GB |
||
− | version: 0.5 |
||
authors: |
authors: |
||
- Nick @nfreear |
- Nick @nfreear |
Latest revision as of 22:36, 9 September 2013
Accessibility fixes including WAI-ARIA roles for Baidu.com Chinese search.
_CONFIG_:
name: Baidu search
# description is optional.
# include: Required. Glob.
include:
- http://*.baidu.com/*
- http://baidu.com/*
test_urls:
- http://www.baidu.com/s?wd=%E6%B8%85%E6%98%8E%E8%8A%82
default_locale: en-GB
authors:
- Nick @nfreear
created: 2013-04-03T20:54+01:00
# Syntax example.
"#My ID selector":
HTML attribute: value
# www.Baidu.com home page.
"#nv":
role: navigation
aria-label: Other Baidu services
aria-label.zh-CN: 其它百度服务
"form#f":
role: search
"#ftCon":
role: contentinfo
"#lg img":
# Hmm, not always a link :(.
title: Baidu Doodle..
title.zh-CN: 百度Doodle..
role: link
tabindex: 0
"[name=wd]":
#type: search
title: Type a search term
title.zh-CN: 输入搜索内容
placeholder: Type a search term
placeholder.zh-CN: 输入搜索内容
style: cursor:help
# Search results page - http://www.Baidu.com/s?wd=清明节 .
"#s_tab":
role: navigation
aria-label: On other Baidu services
_note: Search results page
"#content_right":
role: complementary
# Eg. Baidu Encyclopedia entry.
"#content_left":
role: main
"#page":
role: navigation
aria-label: Pages of search results
"#rs":
role: navigation
aria-label: Related searches
aria-label.zh-CN: 相关搜索
"#foot":
role: contentinfo
# Caution, a visible change!
body:
style: "background-color:#f8f8f8;color:#222;"
_note: Caution, a visible change! (Reduce glare for those w. Dyslexia)
#html:
# style: border:1px solid green
# End.