- From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
- Date: Wed, 26 Nov 2014 17:30:27 -0700
- To: Steve Faulkner <faulkner.steve@gmail.com>
- Cc: Alexander Surkov <surkov.alexander@gmail.com>, www-svg <www-svg@w3.org>, public-svg-a11y@w3.org
- Message-ID: <CAFDDJ7yPH9AJi2SGnvj2V+M92xcG9xzktEw6f7XJw-=-kPwHTA@mail.gmail.com>
I stand corrected. I linked to the "presentation" role definition but didn't read it carefully; I was confusing it with the "img" role, which does force child content to be ignored. However, if the only affect of role=presentation is to *remove* default semantics, I don't see any purpose for making it the default value. @Steve: Are you sure this wasn't just a cut-and-paste error on your behalf? The SVG 2 draft mapping is different from the SVG1.1 table you created. It has "none" as the default role for text elements that do not contain extra accessibility content (or the group role if there is also non-visual text content such as title, desc, or aria-label). I wasn't thinking of "none" as an option when I wrote up my note; that is probably the best solution for tspan and textPath when they are only used for formatting. I still think that <text> elements should have a role that identifies each element as a separate chunk. Given the lack of a paragraph-equivalent ARIA role, that could be indicated through API recommendations, and either "group" or "none" should be the default ARIA semantics. On a more general note: Would there be any harm in having both text and graphics elements map to the "group" role by default, even if they are effectively empty (graphics with no accessibility content) or only have plain text content? That would probably be easier to implement than the "if it has any relevant content, treat as a group, otherwise treat as presentation/none" rules. But I don't know if any accessibility technologies specifically read out unlabelled or empty "group"-type elements, which would be a problem. ABR On 26 November 2014 at 15:23, Steve Faulkner <faulkner.steve@gmail.com> wrote: > > On 26 November 2014 at 22:06, Amelia Bellamy-Royds < > amelia.bellamy.royds@gmail.com> wrote: > >> Steve's draft has "presentation" as the default role for all text >> elements unless they contain specific accessibility attributes or child >> elements. *This would force accessibility APIs to ignore the basic text >> content* of these elements [1] >> > > I don't think this is correct, role=presentation suppresses element > semantics not the text content. see here for further explanation > http://w3c.github.io/aria-in-html/#use-of-role-presentation > > Also note the mappings for all elements that are in the SVG1.1 mapping doc > are based on the SVG 2 mappings for each element unless the element is no > longer in SVG2 > https://svgwg.org/svg2-draft/struct.html#implicit-aria-semantics > > > > -- > > Regards > > SteveF > HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/> >
Received on Thursday, 27 November 2014 00:30:55 UTC