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

Support ARIA 1.3's aria-description property #60

Open
aleventhal opened this issue Jan 14, 2020 · 11 comments
Open

Support ARIA 1.3's aria-description property #60

aleventhal opened this issue Jan 14, 2020 · 11 comments

Comments

@aleventhal
Copy link
Contributor

The precedence order is:
aria-describedby
aria-description

@aleventhal
Copy link
Contributor Author

Pull request for aria-description in ARIA spec:
w3c/aria#1137

aleventhal added a commit that referenced this issue Jan 14, 2020
@aleventhal
Copy link
Contributor Author

@joanmarie is it time to review these CORE-AAM changes?

joanmarie pushed a commit that referenced this issue Feb 25, 2020
@joanmarie
Copy link
Contributor

This is merged already in Core-AAM. @aleventhal is there anything else we need to do before closing this issue?

@aleventhal
Copy link
Contributor Author

There is one remaining issue regarding the AX API mappings being incorrect/incomplete. I filed #104 and assigned to @cookiecrook.

This one can be closed.

@aleventhal
Copy link
Contributor Author

aleventhal commented Jan 13, 2022

Actually, there are 2 remaining things to do for ATK/IA2:

  1. The description object attribute, which should only be exposed when aria-description is used.
  2. The description-from object attribute. Chrome implements it but Firefox does not yet. In this case it should have a value of "aria-description". We should also update the aria-describedby mapping for IA2.

In general, "description-from" has one one the following values:

  • "aria-description"
  • "aria-describedby"
  • "ruby-annotation"
  • "summary"
  • "table-caption"
  • "tooltip" (either via @title or aria-describedby + role="tooltip")
  • "button-label" (when the name came from other markup such as aria-label)

@aleventhal aleventhal reopened this Jan 13, 2022
@aleventhal
Copy link
Contributor Author

FWIW, here's the Firefox issue to implement this: https://bugzilla.mozilla.org/show_bug.cgi?id=1726087

@jcsteh
Copy link

jcsteh commented Jan 13, 2022

* "button-label" (when the name came from other markup such as aria-label)

What is this for? How can the description come from aria-label and why is it specific to buttons?

@JAWS-test
Copy link

How can the description come from aria-label and why is it specific to buttons?

If the name of a button come from aria-label oder aria-labelledby, then the value of the button is the description: https://www.w3.org/TR/html-aam-1.0/#input-type-button-input-type-submit-and-input-type-reset-accessible-description-computation

@aleventhal
Copy link
Contributor Author

That's correct. What @JAWS-test is saying is where Chrome is using kButtonLabel.

@jnurthen
Copy link
Member

@spectranaut does this have tests?

spectranaut added a commit to spectranaut/wpt that referenced this issue Jul 11, 2022
@spectranaut
Copy link
Contributor

I added a test: web-platform-tests/wpt#34758

And here is a link to the webkit tracking issue (so they are all in one place): https://bugs.webkit.org/show_bug.cgi?id=206253#c18

spectranaut added a commit to spectranaut/wpt that referenced this issue Jul 12, 2022
spectranaut added a commit to spectranaut/wpt that referenced this issue Feb 1, 2023
spectranaut added a commit to web-platform-tests/wpt that referenced this issue Aug 17, 2023
whimboo pushed a commit to web-platform-tests/wpt that referenced this issue Aug 22, 2023
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Sep 13, 2023
…escribedby, a=testonly

Automatic update from web-platform-tests
Update CORE-AAM AXAPI aria-description/describedby (#38307)

See issue: w3c/core-aam#60
--

wpt-commits: f1e9d823a623735bb69f16b74968267abd0d352b
wpt-pr: 38307
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this issue Sep 14, 2023
…escribedby, a=testonly

Automatic update from web-platform-tests
Update CORE-AAM AXAPI aria-description/describedby (#38307)

See issue: w3c/core-aam#60
--

wpt-commits: f1e9d823a623735bb69f16b74968267abd0d352b
wpt-pr: 38307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants