diff options
Diffstat (limited to 'doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn')
-rw-r--r-- | doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn b/doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn index a07cd842a..d13fa0a6f 100644 --- a/doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn +++ b/doc/todo/add_aria_landmarks_to_make_ikiwiki_websites_more_accessible.mdwn @@ -67,6 +67,8 @@ The `role` attribute is not allowed by the XHTML 1.0 Strict DTD, so we should only emit it in HTML5 mode (and we should probably [[todo/generate_HTML5_by_default]]). +Specific roles: + [[!format diff """ -<div class="banner"> +<div class="banner" role="banner"> @@ -86,4 +88,8 @@ reasonable guess. I would hope that the fact that it's an `<aside>` in HTML5 mode is enough to give accessibility tools a clue already? Would declaring this to be a `note` be sufficient? +I've applied your suggested roles for #main, #comments and #footer, +but only in HTML5 mode for the reason given above. I have not applied +a role to the sidebar just yet. + --[[smcv]] |