Skip to content

Quick nav: Consider tab headers as form fields (#10432)#10438

Merged
feerrenrut merged 10 commits into
nvaccess:masterfrom
accessolutions:i10432-ariaTabs
Oct 13, 2020
Merged

Quick nav: Consider tab headers as form fields (#10432)#10438
feerrenrut merged 10 commits into
nvaccess:masterfrom
accessolutions:i10432-ariaTabs

Conversation

@JulienCochuyt

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #10432

Summary of the issue:

Tab headers are currently not considered when navigating by form fields.

Description of how this pull request fixes the issue:

Add the tab header roles to those considered as form fields:

  • UIAHandler.UIA_TabItemControlTypeId
  • oleacc.ROLE_SYSTEM_PAGETAB

Testing performed:

Tested from source on Windows 10 version 1903 (18362.418) with:

  • Google Chrome 78.0.3904.70 (64 bits)
  • Mozilla Firefox 70.0 (64 bits)
  • Microsoft Edge (latest from OS)
  • Microsoft Internet Explorer 11 (latest from OS)

Known issues with pull request:

The diff looks bigger only to comply with linting.
Effective changes are really just adding the relevant role in three lists for gecko_ia2, MSHTML and UIA.

Change log entry:

Section: New features or Changes

Tab headers are now considered as form fields when using quick navigation with the letter "f".

@dpy013

dpy013 commented Oct 29, 2019

Copy link
Copy Markdown
Contributor

hi @JulienCochuyt
The following conflicts:
Conflicting files
source/UIABrowseMode.py
thanks

@JulienCochuyt

Copy link
Copy Markdown
Contributor Author

@dingpengyu: Fixed. Thanks!

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 9922a5a315

LeonarddeR
LeonarddeR previously approved these changes Oct 10, 2020
@LeonarddeR LeonarddeR requested a review from feerrenrut October 10, 2020 17:15
feerrenrut
feerrenrut previously approved these changes Oct 12, 2020

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look fine.

I understand that this PR has been waiting a long time, but I have a small doubt about whether tabs SHOULD be considered form fields. After all you can't enter information with them. I suppose they could be used in place of a radio button, but that seems pretty broken.

I suspect the reason this has been waiting so long is because others are also uncertain, along with the diff being a little hard to follow (due to necessary reformatting).

I'd like to flag this decision, and defer to @michaelDCurran for an opinion about whether this fits.

@feerrenrut

Copy link
Copy Markdown
Contributor

After talking to @michaelDCurran about this, we are happy to go ahead. We also treat buttons as form fields.

@feerrenrut feerrenrut dismissed stale reviews from LeonarddeR and themself via 4a81a43 October 13, 2020 15:42
@feerrenrut feerrenrut merged commit 3abcc51 into nvaccess:master Oct 13, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ARIA Tabs not accessible as forms controls

6 participants