Support quick nav to headings 7 to 9 in browse mode #18015
Merged
Merged
Conversation
Collaborator
|
With aria, you can definitely set higher heading levels: |
Contributor
Author
OK. Thanks for this useful information. |
SaschaCowley
requested changes
Apr 29, 2025
Co-authored-by: Sascha Cowley <16543535+SaschaCowley@users.noreply.github.com>
Contributor
Author
|
@SaschaCowley I have accepted almost all of your changes. I have just decided to log an error rather than a debug message when the heading level to be created is not between 1 to 9. And the change log item still needs to be discussed. You can have a look again; thanks. |
SaschaCowley
approved these changes
May 13, 2025
Co-authored-by: Sascha Cowley <16543535+SaschaCowley@users.noreply.github.com>
Qchristensen
approved these changes
May 13, 2025
Qchristensen
left a comment
Member
There was a problem hiding this comment.
Reads well, great work everyone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Fixes #18014
Summary of the issue:
In MS Word, heading levels can go from 1 to 9 but only quick nav keys for 1 to 6 are available (as on the web).
Description of user facing changes
Quick navigation keys 1 to 9 are now available in any browsable document. In MS Word, headings 1 to 9 are supported natively. In HTML, only H1 to H6 are supported, but level 7 to 9 can be implemented throught
aria-level.Description of development approach
Testing strategy:
ui.browseableMessage);aria-levelnot suported.Known issues with pull request:
None
Code Review Checklist:
@coderabbitai summary