This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22088 - Example in "Second rule of ARIA use" promotes an anti-pattern
Summary: Example in "Second rule of ARIA use" promotes an anti-pattern
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Using ARIA in HTML (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 14:34 UTC by Matthew Turvey
Modified: 2013-05-19 21:21 UTC (History)
2 users (show)

See Also:


Attachments

Description Matthew Turvey 2013-05-18 14:34:44 UTC
http://www.w3.org/TR/aria-in-html/#second-rule-of-aria-use

"Do this: <h1><span role=button>heading button</span></h1>"

This is bad advice, we don't want people to do this. See:

http://www.nczonline.net/blog/2013/01/29/you-cant-create-a-button/

Consider re-wording to explain that this example should only be used as a last resort for monkey-patching in (some) accessibility when there is absolutely no alternative, or choose a better example.
Comment 2 steve faulkner 2013-05-19 17:58:28 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: https://github.com/w3c/aria-in-html/commit/fd5d9d4ab3d6ae2f30345f7c0179ff233e57c659 and https://github.com/w3c/aria-in-html/commit/1497b5a4b034bb9fa84c07e8cbd91ae14c8ff726#index.html

https://rawgithub.com/w3c/aria-in-html/master/index.html#second-rule-of-aria-use

Rationale: agree with commenter