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
aria-current="false" is read as aria-current="true" #7892
Comments
I think this might be according to the ARIA spec (see https://www.w3.org/TR/wai-aria-1.1/#aria-current):
False is an allowed value, but it is the default and indicated by omitting a value or omitting the whole aria-current attribute. Some feedback of the spec authors would be welcome here. |
JAWS 2018 treats a value of false as real false.
@bramd: Note that, even though false is the default, it is an allowed
value in the enumeration as you pointed out. Only non-allowed values
should be treated as true.
|
That's right. The only point of confusion here might be that there are
more attributes which are true is any value is set, but when I'm just
reading this part of the spec I think false should be allowed as a value
that is equal to false.
|
Steps to reproduce:
Make HTML file with the following txt:
ARIA current.txt
Open the page (tested with Firefox, Chrome and IE)
Navigate to the the third list item ("item false").
Notice the list item being announced as "Current".
Expected behavior:
The third list item is not announced as "current"
Actual behavior:
The third list item is announced as "current"
System configuration:
NVDA version:
2017.4
NVDA Installed or portable:
Installed
Other information:
NA
Windows version:
Windows 10 Home Version 1709 Build 16299.125
Other questions:
Does the issue still occur after restarting your PC?
Yes.
Have you tried any other versions of NVDA?
No.
The text was updated successfully, but these errors were encountered: