Skip to content

Stop labels for checkboxes / radioButtons from being reported twice when tabbing / quicknavving in browse Mode, for Chrome / Firefox.#7988

Merged
michaelDCurran merged 1 commit into
masterfrom
i7960
Mar 6, 2018
Merged

Conversation

@michaelDCurran

@michaelDCurran michaelDCurran commented Feb 12, 2018

Copy link
Copy Markdown
Member

Link to issue number:

Fixes #7960

Summary of the issue:

When tabbing or quickNaving to checkboxes or radio buttons in Firefox and Chrome in Browse mode, NVDA may report the label twice. Once as a symantic label, and once as the content.
This was caused by unneeded code in PR #7513.
that PR stopped treeting checkboxes and radio buttons has having name from content, no matter if their label was visible or not. This was probably to work around a previous bug in Chrome, but is certainly not needed now for that pr or any other checkboxes / radio buttons I can find.

Description of how this pull request fixes the issue:

This PR simply puts back the line that classes checkboxes and radio buttons as name is content in the Gecko vbufBackend.

Testing performed:

I ran through the tests in Chrome and Firefox provided on pr #7513, and most importantly the testcase provided in issue #7860. Double reporting no longer occurs, and the added cutnionality in PR #7513 still works as expected.

Known issues with pull request:

None

Change log entry:

Bug Fixes:

…hen tabbing / quicknavving in browse Mode, fore Chrome / Firefox.

Reported in #7960. Regression caused in #7513.
@michaelDCurran michaelDCurran changed the title Stop labels for checkboxes / radioButtons from being reported twice when tabbing / quicknavving in browse Mode, fore Chrome / Firefox. Stop labels for checkboxes / radioButtons from being reported twice when tabbing / quicknavving in browse Mode, for Chrome / Firefox. Feb 12, 2018
michaelDCurran added a commit that referenced this pull request Feb 14, 2018
@michaelDCurran michaelDCurran merged commit 709f345 into master Mar 6, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.1 milestone Mar 6, 2018
@pcmarchal

Copy link
Copy Markdown

Should this issue (and #7960) be fixed in version 2018.1? It still repeats in Chrome and Firefox, Windows 7 and Windows 10.

@michaelDCurran michaelDCurran modified the milestones: 2018.1, 2018.2 Mar 13, 2018
@michaelDCurran

Copy link
Copy Markdown
Member Author

@pcmarchal: This missed out on 2018.1 but will be in 2018.2. I have changed the milestone to reflect this. This was my mistake.

amoshydra added a commit to amoshydra/nvda that referenced this pull request Jan 24, 2026
… twice when tabbing / quicknavving in browse Mode, for Chrome / Firefox. nvaccess#7988

This commit revert 782330c
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

Successfully merging this pull request may close these issues.

properly marked up wai-aria checkbox double speaks labels in 2017.4 but not in 2017.3

4 participants