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

Should text content be used for aria-valuetext? #1308

Closed
JAWS-test opened this issue Aug 4, 2020 · 3 comments
Closed

Should text content be used for aria-valuetext? #1308

JAWS-test opened this issue Aug 4, 2020 · 3 comments

Comments

@JAWS-test
Copy link
Contributor

Should the text content of an element that aria-valuetext may own but does not own be used as value for aria-valuetext, e.g.

<meter>3</meter>
<div role=meter>3</div>

Attention: In the example further required attributes are missing. But the question is whether the 3 should be interpreted as aria-valuetext. If not, this should perhaps be mentioned explicitly in the specification, so that, for example, in the first WHATWG example ("Instead, one would either not include the meter element, ..."), the assumption does not arise that the text content would be perceivable with AT.

See also: FreedomScientific/standards-support#419

@aleventhal
Copy link
Contributor

I think in the case of <meter>, yes it should be, as the inner text is a fallback description.
However, in the case of the ARIA meter role, I think no, because that inner contents is likely the implementation of the meter appearance. The author should be able to use aria-valuetext with the role meter.

@a11ydoer
Copy link
Contributor

More info about aria-valuetext in meter

"When the element's values are contained within a range but those values are not numeric (such as "small", "medium" and "large"), or they are numeric but there is value in communicating more information than just a number, aria-valuetext is used to surface the text value to assistive technologies. Only use aria-valuetext when aria-valuenow is not sufficiently meaningful for users because using aria-valuetext will prevent assistive technologies from communicating aria-valuenow.

@jnurthen
Copy link
Member

jnurthen commented Mar 2, 2021

I'm not sure there is anything to do here. Anyone disagree?

@jnurthen jnurthen closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants