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

Reinstate ariaRelevant IDL as custom TokenList reflection #1267

Closed
cookiecrook opened this issue May 7, 2020 · 2 comments
Closed

Reinstate ariaRelevant IDL as custom TokenList reflection #1267

cookiecrook opened this issue May 7, 2020 · 2 comments
Assignees
Labels
feature may add new concept(s) to ARIA which will require implementations or APG changes
Milestone

Comments

@cookiecrook
Copy link
Contributor

The prose of aria-relevant includes some special rules that cannot be expressed in standard WebIDL, so I'm removing its DOMString-based reflection in ARIA 1.2.

  • The default missing value and invalid missing value is actually two values: additions and text.
  • One of the defined values all is a synonym of three other values: : additions, removals and text.

It's neither an enumerated DOMString, nor a DOMTokenList.

See @domenic's comment #1261 about precedent for how to reflect this attribute.
#1261 (comment)

I think we should be able to bring this back in 1.3.

@cookiecrook cookiecrook added this to the ARIA 1.3 milestone May 7, 2020
@cookiecrook cookiecrook self-assigned this May 7, 2020
sideshowbarker added a commit to mdn/content that referenced this issue Feb 26, 2021
Reflection of the aria-relevant content attribute to the ariaRelevant
IDL attribute has been dropped from ARIA 1.2:

w3c/aria#1267

> The prose of aria-relevant includes some special rules that cannot be
> expressed in standard WebIDL, so I'm removing its DOMString-based
> reflection in ARIA 1.2. … I think we should be able to bring this back
> in 1.3.

https://www.w3.org/TR/wai-aria-1.2/ (last published 18 December 2019) is
not up to date with that change, but https://w3c.github.io/aria/ (last
published 22 February 2021) is — and it doesn’t have ariaRelevant.

So, we should drop the Specifications table from the ariaRelevant MDN
article for now.
Rumyra pushed a commit to mdn/content that referenced this issue Mar 1, 2021
…2) (#2720)

* Drop ariaRelevant spec table (not in ARIA 1.2)

Reflection of the aria-relevant content attribute to the ariaRelevant
IDL attribute has been dropped from ARIA 1.2:

w3c/aria#1267

> The prose of aria-relevant includes some special rules that cannot be
> expressed in standard WebIDL, so I'm removing its DOMString-based
> reflection in ARIA 1.2. … I think we should be able to bring this back
> in 1.3.

https://www.w3.org/TR/wai-aria-1.2/ (last published 18 December 2019) is
not up to date with that change, but https://w3c.github.io/aria/ (last
published 22 February 2021) is — and it doesn’t have ariaRelevant.

So, we should drop the Specifications table from the ariaRelevant MDN
article for now.

* Add {{SeeCompatTable}}
sideshowbarker added a commit to w3c/browser-compat-data that referenced this issue May 7, 2021
ariaRelevant isn’t currently part of any spec. See
w3c/aria#1267 for an issue about reinstating
it to the ARIA spec. But unless/until that change is actually made, we
should have it marked non-standard in BCD.
foolip pushed a commit to mdn/browser-compat-data that referenced this issue May 20, 2021
ariaRelevant isn’t currently part of any spec. See
w3c/aria#1267 for an issue about reinstating
it to the ARIA spec. But unless/until that change is actually made, we
should have it marked non-standard in BCD.
@cookiecrook cookiecrook added the feature may add new concept(s) to ARIA which will require implementations or APG changes label Jul 1, 2022
@domenic
Copy link
Contributor

domenic commented Jan 5, 2024

According to the web platform tests, every browser implements ariaRelevant IDL attributes in both ElementInternals and HTMLElement:

Given this, probably we should give up on anything more suited to the data model, and just add it back to the spec, as a simple string attribute?

domenic added a commit to web-platform-tests/wpt that referenced this issue Jan 5, 2024
This attribute was removed from the ARIA spec in 2020: see w3c/aria#1261 and w3c/aria#1267.
@cookiecrook
Copy link
Contributor Author

Overcome by #2326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature may add new concept(s) to ARIA which will require implementations or APG changes
Projects
None yet
Development

No branches or pull requests

2 participants