[Bug 20466] [Accessibility]: Custom element should allow declaration of default accessibility features, such as role and other ARIA attributes.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20466

--- Comment #5 from James Craig <jcraig@apple.com> ---
(In reply to Dominic Cooney from comment #4)
> While I'm NOT the accessibility Dominic, I believe the current thinking is:
> 
> - UA can respond to ARIA roles inside Shadow DOM. Component authors who want
> to be "like native" can use this approach.

There are a few issues with that approach. 

1. The end result would be an element with a role inside the generic parent
element. If the custom element inherits its role from a native one (like the
dialog example) there is no way to override it, except to tell all authors to
explicitly use role="presentation" on the custom element. 

2. I don't believe focus management for shadow DOM components is fully
specified, which I hope to raise as an issue on that spec, but is nevertheless
a blocker for this suggestion.

> - UA responds to ARIA roles on Custom Elements like any element. Authors
> that want to tweak ARIA roles can use this approach.

This bug was about letting the custom element define its default role so the
author would not have to do this.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 8 October 2013 03:36:28 UTC