-
Notifications
You must be signed in to change notification settings - Fork 43
Feature/heading inspector #493
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
Open
RA11y1
wants to merge
18
commits into
main
Choose a base branch
from
feature/heading-inspector
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
eb69944
Create heading-inspector
RA11y1 2e89b7f
Delete pages/setup/helper-tools/browser-extensions/heading-inspector
RA11y1 92edb9f
Create README.md
RA11y1 68878cf
Update README.md
RA11y1 6e6be0c
Update README.md
RA11y1 5e6b828
Update README.md
RA11y1 6a5acad
Update README.md
RA11y1 ed1e7bc
Create test.png
RA11y1 7167f14
add media
RA11y1 dcb1d4b
Delete pages/setup/helper-tools/browser-extensions/heading-inspector/…
RA11y1 5001c9b
Update README.md
RA11y1 06cadef
Update README.md
RA11y1 114c747
Update README.md
RA11y1 a28bcf0
Update README.md
RA11y1 ae2d1e8
Update README.md
RA11y1 f52166c
Update README.md
RA11y1 62805c3
Update README.md
RA11y1 8b0d7d2
Update README.md
RA11y1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
pages/setup/helper-tools/browser-extensions/heading-inspector/README.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| navigation_title: "Heading Inspector" | ||
| position: 3 | ||
| --- | ||
|
|
||
| # Heading Inspector | ||
|
|
||
| **Unlike similar heading outline tools that parse a page's DOM, this extension reads the accessibility tree directly, catching edge cases—like headings assigned via JavaScript—that DOM-based tools can miss. The Heading Structure extension is built and maintained by [Quantico](https://github.com/quatico-solutions/heading-inspector).** | ||
|
|
||
| [[_TOC_]] | ||
|
|
||
| ## Installation | ||
|
|
||
| Go to the [Chrome Web Store](https://chromewebstore.google.com/detail/heading-inspector/adneglmkionfaljjmoaedemiahchfjej) and install the extension. | ||
|
|
||
| ## Usage | ||
|
|
||
| Toggle the heading outline panel for a page with one click on the toolbar icon. The panel will appear on the right side of the viewport. | ||
|
|
||
|  | ||
|
|
||
| - The panel lists all headings with their level, indented by depth. | ||
| - A green square indicates correct heading order. | ||
| - A red octagon indicates sequence errors (e.g. h4 directly after h2) — distinguished by both colour and shape so it is robust under colour-blindness and greyscale. | ||
| - Click a heading to scroll to it on the page with a highlight flash. | ||
| - Click Close or the extension icon again to hide. | ||
| - Follows navigation within the same site. Once you open the panel on a tab it stays with you as you walk that site — following links, submitting forms, or navigating a single-page app all re-populate the outline for the new page automatically. | ||
| - Leaving the site (a different origin) stops the follow, and the panel does not reopen until you click the icon again on the new site. This keeps the audit loop going without re-clicking on every page. |
Binary file added
BIN
+34 KB
...ols/browser-extensions/heading-inspector/_media/heading-structure-extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if it’s technically allowed, it might not be ideal that this screenshot shows three
<h1>elements, as this could confuse people.