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

Update needed for Technique ARIA22 example "Using role=status to Provide Status Message on Shopping Cart"? #1137

Open
detlevhfischer opened this issue May 28, 2020 · 2 comments · May be fixed by #1699

Comments

@detlevhfischer
Copy link
Contributor

detlevhfischer commented May 28, 2020

Hi,
It seems that the example referenced in Technique ARIA22 Using role=status to Provide Status Message on Shopping Cart does not work, maybe because of changes to the claimed default value aria-atomic of role=status.
According to the Technique, the output should be "Shopping Cart # items" or "# items".

<p role="status"><img src="shopping-cart.png" alt="Shopping Cart">
<span id="cart">1</span> items</p>

Current output however is:
---> NVDA/FF: exposes number only
---> JAWS/FF: no output
---> JAWS/Chrome: output "2 items"
---> VO/iOS: output "shopping cart 2 items"

Adding aria-atomic="true" after role="status" in the devtools achieves the desired output "Shopping cart 2 items" (only tested in NVDA/FF).

@detlevhfischer detlevhfischer changed the title Update needed for Technique "Using role=status to Provide Status Message on Shopping Cart"? May 28, 2020
@JAWS-test
Copy link

The support of the alt attribute within Live Region is not good: FreedomScientific/standards-support#299

@alastc
Copy link
Contributor

alastc commented Jun 3, 2020

Is this a straightforward update to the technique? If someone can make a PR, it looks like a simple thing to approve.

@detlevhfischer detlevhfischer linked a pull request Mar 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment