Skip to content

QuickNav commands for menu, toggle button, progress bar and math#16247

Merged
seanbudd merged 4 commits into
nvaccess:masterfrom
mltony:roles
Mar 7, 2024
Merged

QuickNav commands for menu, toggle button, progress bar and math#16247
seanbudd merged 4 commits into
nvaccess:masterfrom
mltony:roles

Conversation

@mltony

@mltony mltony commented Mar 2, 2024

Copy link
Copy Markdown
Contributor

Link to issue number:

Closes #16001

Summary of the issue:

Feature request: add more QuickNav commands to jump to more roles.

Description of user facing changes

Added 4 new QuickNav commands not assigned to any keyboard gestures:

  • menu item
  • toggle button
  • progress bar
  • math formula

Description of development approach

Provided IA2 implementations for all 4 QuickNav commands.
Provided UIA implementation for only progress bar as UIA doesn't seem to support other roles.

Testing strategy:

Tested in the following browsers:

  • Chrome
  • Firefox
  • Edge (UIA version; only progress bars)

Tested on the following pages:

Known issues with pull request:

Not all roles available in UIA mode.

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@mltony mltony marked this pull request as ready for review March 2, 2024 03:48
@mltony mltony requested review from a team as code owners March 2, 2024 03:48
@Adriani90

Copy link
Copy Markdown
Collaborator

Thanks Tony for this PR, this also addresses some old issues already on github.
In general the practice in NVDA is all quick navigation keys of aria atributes are also covered in document formating settings, so the user can not only assign a quick nav key to them, but also turn on and off their announcements in the document formating settings.
Could you please add these atributes to the settings category as checkboxes in the elements grouping?

@CyrilleB79

Copy link
Copy Markdown
Contributor

I wonder if some roles could be factored.

For example just include toggle button with button navigation would be more useful than creating a specific command to jump to toggle buttons.
Also, maybe menu item could be factored with list item?

Moreover do you have real-life use cases for all these commands? Especially jump to progress bar does not seem to be very useful to me. Toggle button alone neither; but factorized with normal button, it seems more relevant as explained earlier.

At last, I think that the unassigned jump command to math content may be useful for some and does not need to be factorized with anything else.

@mltony

mltony commented Mar 2, 2024

Copy link
Copy Markdown
Contributor Author

@CyrilleB79,
Yes I do have real life use casess fror all these. They are from internal websites at work, so I can't share them. But yeah, we do have web pages overloaded with various elements, so navigating to progress bars and menus is essential. Toggle buttons are also good to be differentiated from other kinds of buttons.
Also Button already includes toggle button.

@Adriani90

Adriani90 commented Mar 2, 2024 via email

Copy link
Copy Markdown
Collaborator

@Adriani90

Copy link
Copy Markdown
Collaborator

Also progress bar quick navigation is really useful especially when checking status of certain activities on such interactive complex web interfaces.

@mltony are you planing to add these as checkboxes to the document formating settings as well? This would be very appreciated.

@mltony

mltony commented Mar 3, 2024

Copy link
Copy Markdown
Contributor Author

I wasn't planning to. I looked at recent PRs that included quicknav commands for tabs and figures - they didn't add any checkboxes.

@Adriani90

Adriani90 commented Mar 3, 2024 via email

Copy link
Copy Markdown
Collaborator

@Adriani90

Adriani90 commented Mar 3, 2024 via email

Copy link
Copy Markdown
Collaborator

@CyrilleB79

Copy link
Copy Markdown
Contributor

OK, thanks for illustrating with these real-life use cases that seem more than relevant.

@XLTechie

XLTechie commented Mar 4, 2024 via email

Copy link
Copy Markdown
Collaborator

@seanbudd seanbudd added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Mar 5, 2024

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @mltony - can you resolve merge conflicts?

Comment thread source/UIAHandler/browseMode.py Outdated
Comment thread user_docs/en/changes.t2t Outdated
mltony and others added 3 commits March 6, 2024 13:15
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
@mltony

mltony commented Mar 6, 2024

Copy link
Copy Markdown
Contributor Author

@seanbudd, Resolved merge conflicts.

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit d682370fe2

@Qchristensen Qchristensen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Docs changes read well, good work

@seanbudd seanbudd merged commit 01df0d4 into nvaccess:master Mar 7, 2024
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Mar 7, 2024
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
…ccess#16247)

Closes nvaccess#16001

Summary of the issue:
Feature request: add more QuickNav commands to jump to more roles.

Description of user facing changes
Added 4 new QuickNav commands not assigned to any keyboard gestures:

menu item
toggle button
progress bar
math formula
Description of development approach
Provided IA2 implementations for all 4 QuickNav commands.
Provided UIA implementation for only progress bar as UIA doesn't seem to support other roles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: add more roles to jump to in browse mode QuickNav commands

8 participants