aria-hidden not working in an example on whatsock.com

RESOLVED FIXED

Status

()

RESOLVED FIXED
2 years ago
3 months ago

People

(Reporter: MarcoZ, Unassigned)

Tracking

(Blocks: 1 bug)

53 Branch
x86
Windows 10
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox53 affected)

Details

(URL)

(Reporter)

Description

2 years ago
STR:
1. With NVDA and Firefox, open http://whatsock.com/tsg/Coding%20Arena/Modals/Modal%20(Internal%20Content)/demo.htm.
2. Tab to the Login button and press Space. The login form appears.
3. Press tab once to give focus to the User Name field.
4. Press NVDA+Space to turn off focus mode.
5. UpArrow a few times until you land in a list of 3 items.

Expected: This content should no longer be accessible to NVDA.
Actual: It reads the contents of that explanatory text which is now hidden. Only if you uparrow more and focus reaches an element that is not supposed to have focus, focus gets redirected to the User Name field.

Examining the tree, the elements outside the login group are all still there. The headings, the list etc. are still part of the main document.

According to Bryan's report via e-mail, this used to work fine, with the content outside the login form being hidden from screen readers.

Alex, can you take a look, please? Is thsi a code technique not covered by our tests and thus we missed that this should work?
Flags: needinfo?(surkov.alexander)
Is it intermittent issue? Does anyone know whether we expose hidden object attribute in aria-hidden subtree? If we do, then it should be a screen reader issue.
Flags: needinfo?(surkov.alexander)
(Reporter)

Comment 2

2 years ago
(In reply to alexander :surkov from comment #1)
> Is it intermittent issue? Does anyone know whether we expose hidden object
> attribute in aria-hidden subtree? If we do, then it should be a screen
> reader issue.

It is not intermittent here, and no, I don't see that attribute on the accessibles that shouldn't be there. I can reproduce it 100%.
Flags: needinfo?(surkov.alexander)
It probably doesn't make much sense to fix this bug on its own, if we plan to work on bug 1349223 (cut aria-hidden). In other words bug 1349223 should be a fix for this one.
Flags: needinfo?(surkov.alexander)

Comment 4

8 months ago
This scenario is covered within the general testable statements within the archive at
https://github.com/whatsock/w3c-alternative-text-computation
And I believe has already been added to the W3C testable statements wiki, or soon will be.
(Reporter)

Comment 5

3 months ago
This now works as expected after bug 1249223 was fixed.
Status: NEW → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → FIXED

Updated

3 months ago
Depends on: 1349223
You need to log in before you can comment on or make changes to this bug.