Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARIA IDL interface/reflection (non-IDREF) #211

Closed
alice opened this issue Oct 30, 2019 · 9 comments
Closed

ARIA IDL interface/reflection (non-IDREF) #211

alice opened this issue Oct 30, 2019 · 9 comments
Labels
position: positive venue: WHATWG Specifications in a WHATWG Workstream

Comments

@alice
Copy link

alice commented Oct 30, 2019

Request for Mozilla Position on an Emerging Web Specification

Other information

Note that this request excludes attributes which have a type of "IDREF" or "IDREF list", which are discussed in #200. This is exclusively about IDL attributes for ARIA attributes which do not refer to other DOM elements, i.e. those with the type DOMString in the IDL interfaces in the spec linked above.

Safari has shipped this already; Chrome has implemented it behind a flag.

@annevk
Copy link
Contributor

annevk commented Oct 31, 2019

Do you know how Chrome and Safari deal with w3c/aria#1058?

Jamie also brought up the point that using strings for all of these is perhaps not the most ideal API. Do you know why there is no usage of booleans, numbers, enumerations, et al?

Edit: new issues tracked at w3c/aria#1110 and w3c/aria#1116.

@annevk annevk added the venue: WHATWG Specifications in a WHATWG Workstream label Nov 5, 2019
@annevk
Copy link
Contributor

annevk commented Nov 5, 2019

With those caveats, this is considered worth prototyping by Mozilla.

@annevk
Copy link
Contributor

annevk commented Apr 1, 2020

@alice do you know when those issues will be addressed? I'm a little wary of resolving this issue as no progress has been made there.

@alice
Copy link
Author

alice commented Apr 8, 2020

Sorry for being slow on this. I just had a chat with @cookiecrook about this and he's going to follow up on the other bug. We think we did consider this previously and came back to deciding they should all be strings, but we can't remember the logic, so he's going to try and dig that up.

@cookiecrook
Copy link

he's going to follow up on the other bug.

The "other bug" being ARIA issue 1110: w3c/aria#1110

@asurkov
Copy link

asurkov commented Apr 11, 2020

Safari has shipped this already; Chrome has implemented it behind a flag.

for the record, which version of Safari/Chrome it was implemented?

@cookiecrook
Copy link

Landed in WebKit in Fall 2018, so it probably shipped in one of the Spring 2019 releases of Safari.
https://trac.webkit.org/changeset/234482/webkit

@jcsteh
Copy link
Contributor

jcsteh commented Sep 5, 2023

Overall, we believe this is a useful convenience feature which will make life slightly easier for web developers. It is already being used by multiple websites in the wild, so it is important that we ship this for web compatibility. It also enables support for default Accessibility Semantics for Custom Elements (#201), which is important for accessibility of web components.

It's unfortunate that w3c/aria#1110 wasn't resolved before this shipped in other browsers, as that might have made things a little nicer for authors. That said, we acknowledge that there are some challenges in mapping cleanly to ARIA attributes as they have been defined.

@martinthomson
Copy link
Member

Based on discussions with @jcsteh and that comment, we're going with "positive" on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
position: positive venue: WHATWG Specifications in a WHATWG Workstream
Projects
None yet
Development

No branches or pull requests

7 participants