- From: <bugzilla@jessica.w3.org>
- Date: Sun, 29 Aug 2010 13:23:47 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10495 Summary: default role(s) "inheriting" for figure – common use cases Product: HTML WG Version: unspecified Platform: All URL: http://dev.w3.org/html5/spec/content-models#annotation s-for-assistive-technology-products-aria OS/Version: All Status: NEW Severity: major Priority: P1 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: xn--mlform-iua@xn--mlform-iua.no QAContact: public-html-bugzilla@w3.org CC: mjs@apple.com, mike@w3.org, public-html@w3.org Depends on: 10066,10484 REQUEST 1: when the sole content of a <figure>, apart from <figcaption>, is a single element (which can have its own children) and if that single element has a relevant[*] *default* ARIA @role, THEN the <figure> will default to the same @role as the default role of that single element. [*] Some examples of relevant native/default ARIA element/role combinations: <img> (which defaults to role="img"), <table> (which at least currently defaults to grid). REQUEST 2: Some elements which do not have a logical ARIA role (examples: <audio>, <video>) should lead to similar effects: E.g in this example, the figure element should be seen as being an "audio region": <figure><audio><figcaption>Recording 1</figcaption</figure> EXAMPLES: <img> EXAMPLE : http://dev.w3.org/html5/spec/embedded-content-1.html#alt Section '4.8.1.1 Requirements for providing text to act as an alternative for images' contains several examples where an <img> element and a <figcaption> element is the sole content of the <figure>. However, none of those <figure> elements contains any role="img" attribute. Therefore it is, for the moment, unclar what kind of <figure>, the <figcaption> is captioning. And thus, the relationship between <img> and <figcaption> is unclear. The examples also makes no use or @aria-labelledby Proposal for this particular use case: Whenever the sole content of <figure> is an <img> and <figcaption>, then the <figure> is considered to have role="img". <table>/<caption> EXAMPLE: http://dev.w3.org/html5/spec/tabular-data.html#the-caption-element Section '4.9.2 The caption element' says that ]]When a table element is the only content in a figure element other than the figcaption, the caption element should be omitted in favor of the figcaption.[[ This is a problematic advice, given that <figure> has no default role, while <table>, if no default @role, at the very least is treated as a table by user agents – which thus know that there is a relationship between <caption> and <table>. Proposal for this particular use case: whenever a <table> or a <table> + <figcaption> is the sole content of a <figure>, the then <figure> element should be considered as having role="grid". http://www.w3.org/TR/wai-aria/complete#grid <audio>/<video> EXAMPLE [ information to be added ] Logically, ARIA should have had something like role="audio" and role="video" which worked a little bit similar to role="img". -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Sunday, 29 August 2010 13:23:48 UTC