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

NVDA cannot navigate a checkBox element with a width or height of 0 on the page in Chrome #12501

Closed
cary-rowen opened this issue Jun 2, 2021 · 10 comments

Comments

@cary-rowen
Copy link
Contributor

cary-rowen commented Jun 2, 2021

demo.txt
and as a codepen: https://codepen.io/reefturner/full/XWMZoeX

Steps to reproduce:

  1. Download the demo.txt provided;
  2. After downloading, change its extension to .html to demo.html;
  3. Open in chrome;
  4. Try to use the up and down arrows or Tab keys to navigate the page.

Actual behavior:

  1. Press Tab key or up/down arrow can only navigate to "Submit" button
  2. Use the navigation object to navigate to the checkBox but cannot interact with it.
  3. Open demo.html in FireFox and everything is normal

Expected behavior:

Users navigate between checkBoxes, NVDA can read out the necessary information such as "C / C++, Python" just like in FireFox.

System configuration

NVDA installed/portable/running from source:

installed

NVDA version:

NVDA alpha-22975

Windows version:

Windows 10 21H1 (64位) build 19043.985

Name and version of other software in use when reproducing the issue:

Google Chrome 91.XX

Other information about your system:

None

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

NVDA 2020.4 is the same,
But Narrator does not have such a problem.

If add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

@feerrenrut
Copy link
Contributor

If an element is has width or height of 0 it is not visible. Non-visible elements are typically made that way intentionally to omit them from the visual UI. It is intentional that NVDA does not report elements that have been intentionally omitted from the UI. I believe certain browsers don't even expose them via the accessibility APIs.

I'm going to close this issue. This may be part of a more elaborate example, if so please share more details and we'll consider looking at it further.

@cary-rowen
Copy link
Contributor Author

Hi

I don’t understand why the behavior in FireFox and Chrome is so different, and why NVDA behaves differently from other screen readers? If NVDA is doing this deliberately, then the same behavior should be maintained in FireFox.
In addition, it cannot be ruled out that some default styles are hidden because of visual considerations. They may not meet the Accessibility specification, but without other obvious side effects, I still think that screen readers should provide users with an actionable way.

Thanks!
@feerrenrut

@feerrenrut
Copy link
Contributor

It would help if you described the different behavior to confirm we have a shared understanding.

Hidden form controls have historically used widely on the web for holding state related to the form. Users are not meant to interact with these controls, hence they are not visible. Sighted users can't interact with the controls.

@cary-rowen
Copy link
Contributor Author

Hello, this problem is the actual problem I encountered when filling out a survey form. What can be confirmed is that the CheckBox with a width of 0 can be used with people with normal vision, and it can also interact with NVDA on FireFox. , Narrator can interact with it on Chrome, but NVDA can’t.
The content of the questionnaire is in Chinese, and I do not guarantee that it can be opened in your area, but I am still willing to provide the URL: https://wj.capa.ac/fillin?id=193

@surfer0627
Copy link
Contributor

surfer0627 commented Jun 3, 2021

  1. Use the navigation object to navigate to the checkBox but cannot interact with it.

um, I got a similar issue in Firefox, not in Chrome.

Steps to reproduce (page in Chinese):

  1. Open
    https://www.taishinbank.com.tw/eService/CreditCardAP/apply/index.jsp?pc=179
  2. Press NVDA + ctrl + f to search string "行動生活 "
  3. Press enter to expand it.
  4. Press down arrow
    speech: Checkbox not check.
  5. Press space
    Actual: no response
    Expected: Checkbox is checked.
    checkbox alternative text: 街口卡
    綁定街口APP指定通路:最高6%

note: This case works as expected in Chrome and MS Edge.

Thanks.

@XLTechie
Copy link
Collaborator

XLTechie commented Jun 3, 2021

@surfer0627 is what you experienced similar to #12204?

@surfer0627
Copy link
Contributor

@XLTechie Yes, good catch.
Thanks.

@XLTechie
Copy link
Collaborator

XLTechie commented Jun 3, 2021 via email

@cary-rowen
Copy link
Contributor Author

I do not approve of closing this issue, and I would like to hear more people’s thoughts. I believe it is a very common situation for such CheckBox, and other screen readers can access it normally. NVDA users just can’t access it in Chrome.
@feerrenrut

@josephsl
Copy link
Collaborator

josephsl commented Jun 4, 2021 via email

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

5 participants