#9408 closed enhancement (fixed)
WAI-ARIA landmark roles in default theme to increase accessibility
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Themes | Keywords: | accessibility, has-patch, aria, wai, tested |
Focuses: | Cc: |
Description
The WAI ARIA specification defines a set of specialised "landmark" roles. These roles provide a method to programmatically identify commonly found sections of web page content in a consistent way.
This allows assistive technologies to provide users with features which they can use to identify and navigate to sections of page content. For more information see Using WAI ARIA Landmark Roles by Steve Faulkner.
This patch adds basic ARIA landmark role information to the default theme.
Attachments (2)
Change History (11)
#3
in reply to:
↑ 2
@
14 years ago
Replying to DD32:
Since i assume this isnt yet a released standard, I guess it'll mean the theme will not pass validation? (Which is a meaningless mark i know, I'm just thinking of all the nazi's :))
Apparently the W3C are looking into modifying the W3C validator to include experimental support for WAI-ARIA. Currently other validators have included a custom DTD to enable validation (e.g. Markup validator S.A.C).
Personally, I take accessibility over validation any day:-)
#4
follow-up:
↓ 6
@
14 years ago
Added an optional version that makes use of the jQuery library included with Wordpress to set the landmark roles. This means that the HTML is still valid.
#6
in reply to:
↑ 4
@
14 years ago
Replying to peterkz:
Added an optional version that makes use of the jQuery library included with Wordpress to set the landmark roles. This means that the HTML is still valid.
I just tried this patch against SVN R10943, and it doesn't work. JAWS does not report the landmarks don't show up on either the front page or the single post views. The patch applied cleanly, so the approach to do it via jQuery doesn't seem to work right yet.
Peter, did JAWS show you the landmarks when you implemented this version of the patch?
#7
@
14 years ago
- Keywords tested added
I tested the hardcoded landmarks patch, and it works great. Since the theme already has the aria-required attribute hardcoded and thus doesn't pass validation anyway, and it was once said that accessibility enhancement should be favored over the validation, I recommend to take this patch.
Since i assume this isnt yet a released standard, I guess it'll mean the theme will not pass validation? (Which is a meaningless mark i know, I'm just thinking of all the nazi's :))