w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
638 stars 123 forks source link

ARIAMixin has many integer attributes with string types and uses DOMString? incorrectly #1110

Open annevk opened 4 years ago

annevk commented 4 years ago

It would be nicer if these were reflected as numbers. E.g., aria-level.

cc @alice @domenic

cookiecrook commented 10 months ago

Yes, sorry. Gecko is passing all non-element reflection tests, here: https://wpt.fyi/results/html/dom/aria-attribute-reflection.html?label=master&label=experimental&aligned&q=label%3Aaccessibility

annevk commented 10 months ago

I guess if we decide not to improve this, we still need to reconcile with HTML's reflect mechanism somehow as what's currently in the specification doesn't add up. And if we add a new ARIA attribute, we should be really deliberate about whether we should improve the setup from then on or not.

domenic commented 8 months ago

I've opened https://github.com/whatwg/html/issues/10037 to discuss the remaining fixes on the HTML side. It looks like from the discussion over here ("I guess if we decide not to improve this") the current proposal is to not change any of the currently-shipped behaviors, which is my proposal 1A or 1B?

spectranaut commented 7 months ago

Discussed briefly in the ARIA working group: https://www.w3.org/2024/01/11-aria-minutes#t07

thanks @domenic !

spectranaut commented 6 months ago

Also discussed in today's working group meeting: https://www.w3.org/2024/03/07-aria-minutes.html#t08

rahimabdi commented 4 months ago

@keithamus Removing myself as an assignee on this one but happy to help in any way!