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 10463 - provide a comprehensive HTML5 to accessibility API mapping reference
Summary: provide a comprehensive HTML5 to accessibility API mapping reference
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P1 major
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y, aria, TrackerIssue
Depends on:
Blocks: 10066
  Show dependency treegraph
 
Reported: 2010-08-27 13:55 UTC by steve faulkner
Modified: 2011-01-22 19:37 UTC (History)
11 users (show)

See Also:


Attachments

Description steve faulkner 2010-08-27 13:55:49 UTC
Consider removing the implementors advice form the ARIA section instead providing a comprehensive reference for mapping all HTML5 elements and attributes to accessibility APIs (this may inlcude references to ARIA roles, properties and states where platform accessibity APIs do not have appropriate properies that are provided in WAI-ARIA)
Comment 1 Ian 'Hixie' Hickson 2010-09-07 17:44:23 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: Did Not Understand Request
Change Description: no spec change
Rationale: I have no idea what this means. Isn't this what the whole spec does?
Comment 2 steve faulkner 2010-09-07 19:50:14 UTC
>I have no idea what this means. Isn't this what the whole spec does?

no.

but this document is a start: HTML to Platform Accessibility APIs
http://www.paciellogroup.com/blog/misc/HTML5/HTML-API-MAPPING.html
Comment 3 Ian 'Hixie' Hickson 2010-09-08 08:26:15 UTC
I really have no idea what problem this bug is reporting
Comment 4 steve faulkner 2010-09-08 08:35:38 UTC
(In reply to comment #3)
> I really have no idea what problem this bug is reporting

The current ARIA section of the spec defines a subset of normative requirments for mappings of HTML elements to accessibility APIs using ARIA roles as an intermediary. i don't think this is the best way to provide the mappings. The mappings should be provided in the form of the document i linked to.

Rather than restate the request endlessly I will leave it up to you to provide a counter to the change proposal.
Comment 5 Ian 'Hixie' Hickson 2010-09-08 08:49:46 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: Rejected
Change Description: no spec change
Rationale: Oh, this is just a request to change the editorial style to include things like accessibility API mappings? If so, then I strongly disagree that that makes sense. Just like we don't define default UI at the pixel level, we shouldn't define default UI at the Accessibility API level. Browsers should compete with each other to be more accessible.
Comment 6 Henri Sivonen 2010-09-08 13:09:34 UTC
I thought it was agreed in TPAC at Mandelieu that the mapping is a separate deliverable and isn't going to be included in the HTML5 spec proper. Even if the mapping spec were normative for a given snapshot of a particular accessibility API, it obviously can't cover subsequently introduced accessibility API (and probably wouldn't cover rare current APIs).
Comment 7 Henri Sivonen 2010-09-08 13:15:08 UTC
Now that I've read some tweets, I'd like to add the following for avoidance of doubt:
I think two browsers that expose content to the same accessibility API should expose the same piece of HTML in the same way which should be the most accurate way permitted by that API.
Comment 8 steve faulkner 2010-09-08 13:17:55 UTC
(In reply to comment #6)
> I thought it was agreed in TPAC at Mandelieu that the mapping is a separate
> deliverable and isn't going to be included in the HTML5 spec proper. Even if
> the mapping spec were normative for a given snapshot of a particular
> accessibility API, it obviously can't cover subsequently introduced
> accessibility API (and probably wouldn't cover rare current APIs).

I don't have a problem with the mapping tables being informative, It could bebe an in the main spec or an appendix or a seperate document referenced from the html5 spec.  But then the normative implementation statements in regards to ARIA must be removed from the HTML5 spec as they are mandating accessibility API mappings by proxy.
see the stuff about mapping <img> to image/graphic roles in accessibility APIs as an example (http://www.w3.org/Bugs/Public/show_bug.cgi?id=10481)
Comment 9 Henri Sivonen 2010-09-08 15:48:15 UTC
(In reply to comment #8)
> But then the normative implementation statements in regards to
> ARIA must be removed from the HTML5 spec as they are mandating accessibility
> API mappings by proxy.

The whole point of implementation statement by reference to ARIA is to say that certain things must map the same way as certain ARIA things without having to say what that way is in terms of any concrete platform API.

I think saying that something has to map the same way as something else is completely compatible with externalizing what the concrete mapping is.
Comment 10 steve faulkner 2010-09-08 15:59:13 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > But then the normative implementation statements in regards to
> > ARIA must be removed from the HTML5 spec as they are mandating accessibility
> > API mappings by proxy.
> The whole point of implementation statement by reference to ARIA is to say that
> certain things must map the same way as certain ARIA things without having to
> say what that way is in terms of any concrete platform API.
> I think saying that something has to map the same way as something else is
> completely compatible with externalizing what the concrete mapping is.



The main issue with this is that the mappings are incomplete, many elements in the ARIA section have no default roles,state or properties. Accessibility APIs have role states and properties not included in ARIA. How ARIA should map to accessibility APIs is in the ARIA implememntation guide. How HTML5 should map to  accessibility APIs should be in a HTML5 to accessibility API implementation guide.
Comment 11 Henri Sivonen 2010-09-08 16:54:50 UTC
(In reply to comment #10)
> The main issue with this is that the mappings are incomplete, many elements in
> the ARIA section have no default roles,state or properties. Accessibility APIs
> have role states and properties not included in ARIA. How ARIA should map to
> accessibility APIs is in the ARIA implememntation guide. How HTML5 should map
> to  accessibility APIs should be in a HTML5 to accessibility API implementation
> guide.

I think it's still appropriate for HTML5 to say that foo in HTML5 has to be mapped to the same accessible role as ARIA role bar even we want there to be an ARIA to accessibility API spec and an HTML to accessibility API spec.

Or do you want some HTML stuff to use accessibility API roles that are more refined than what ARIA maps to?
Comment 12 Maciej Stachowiak 2010-09-08 19:12:26 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > The main issue with this is that the mappings are incomplete, many elements in
> > the ARIA section have no default roles,state or properties. Accessibility APIs
> > have role states and properties not included in ARIA. How ARIA should map to
> > accessibility APIs is in the ARIA implememntation guide. How HTML5 should map
> > to  accessibility APIs should be in a HTML5 to accessibility API implementation
> > guide.
> 
> I think it's still appropriate for HTML5 to say that foo in HTML5 has to be
> mapped to the same accessible role as ARIA role bar even we want there to be an
> ARIA to accessibility API spec and an HTML to accessibility API spec.
> 
> Or do you want some HTML stuff to use accessibility API roles that are more
> refined than what ARIA maps to?


Note that the spec gives license to use a more refined accessibility API role when available and appropriate:

"User agents may apply different defaults than those described in this section in order to expose the semantics of HTML elements in a manner more fine-grained than possible with the above definitions."

Saying element foo has a default role of bar just means that <foo> and <foo role=bar> should behave the same, but this can use more specific accessibility API mappings than role bar would generally use, if appropriate for that element. I'm not sure what it would mean to say <foo> has a default role of bar if that were not the case. In fact, I believe this conclusion follows from ARIA without the specific requirements of the HTML5 spec, so long as any elements have a default role specified. Thus, I believe the only way to really do what this bug is asking is to remove all default roles.

At least that is my understanding.
Comment 13 steve faulkner 2010-09-09 10:45:12 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > The main issue with this is that the mappings are incomplete, many elements in
> > > the ARIA section have no default roles,state or properties. Accessibility APIs
> > > have role states and properties not included in ARIA. How ARIA should map to
> > > accessibility APIs is in the ARIA implememntation guide. How HTML5 should map
> > > to  accessibility APIs should be in a HTML5 to accessibility API implementation
> > > guide.
> > 
> > I think it's still appropriate for HTML5 to say that foo in HTML5 has to be
> > mapped to the same accessible role as ARIA role bar even we want there to be an
> > ARIA to accessibility API spec and an HTML to accessibility API spec.
> > 
> > Or do you want some HTML stuff to use accessibility API roles that are more
> > refined than what ARIA maps to?
> Note that the spec gives license to use a more refined accessibility API role
> when available and appropriate:
> "User agents may apply different defaults than those described in this section
> in order to expose the semantics of HTML elements in a manner more fine-grained
> than possible with the above definitions."
> Saying element foo has a default role of bar just means that <foo> and <foo
> role=bar> should behave the same, but this can use more specific accessibility
> API mappings than role bar would generally use, if appropriate for that
> element. I'm not sure what it would mean to say <foo> has a default role of bar
> if that were not the case. In fact, I believe this conclusion follows from ARIA
> without the specific requirements of the HTML5 spec, so long as any elements
> have a default role specified. Thus, I believe the only way to really do what
> this bug is asking is to remove all default roles.
> At least that is my understanding.

OK, so some questions:

1. where there is a strong semantic of 'no role' what are implementors supposed to do, is that clear? because its not to me.
2. if the default roles are kept in as is would it not be best to also provide implementors with a clear reference from this section to a more comprehensive html5 to accessibility API mapping document?
Comment 14 Ian 'Hixie' Hickson 2010-09-26 17:24:47 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: Rejected
Change Description: no spec change
Rationale: What the HTML spec is doing here is what the WAI requested we do. If you disagree, then please escalate this.
Comment 15 Michael Cooper 2010-12-15 14:51:45 UTC
Bug triage sub-team this this is not a HTML A11Y TF priority. Integration of the HTML to AAPI mapping is important but don't need TF review of the specific mechanism via a bug. Assigning to Steve Faulkner, who may either close based on that recommendation, or escalate it.

To make the bug complete, it relates to http://dev.w3.org/html5/html-api-map/overview.html. This version supplants an earlier draft of the same document that was referenced in comment 2.
Comment 16 Cynthia Shelly 2011-01-22 19:34:12 UTC
Issue 161:  http://www.w3.org/html/wg/tracker/issues/161