Repository navigation
Editor info link: "Annotation editor help", with an accessible description - #7596
Merged
Merged
Conversation
The wording agreed for the info link above the annotation editor: - Tooltip (`title`): "Annotation editor help" - Accessible name (`aria-label`): "Annotation editor help" - Accessible description: "Learn what the annotation text field is for. Opens Help Center article in a new tab." The description is a `hidden` element the link points to with `aria-describedby`, so it is read only as the description and not again as text after the link. Its id comes from `useId`, so two editors open at once do not share one. With a description of its own, the browser no longer uses the tooltip as the description, so the tooltip is not read out twice. Part of hypothesis/product-backlog#1753. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7596 +/- ##
=======================================
Coverage 99.62% 99.62%
=======================================
Files 286 286
Lines 12061 12062 +1
Branches 2935 2935
=======================================
+ Hits 12016 12017 +1
Misses 45 45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gmorador-tribu
approved these changes
Nov 12, 2026
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.
Sets the final wording of the info link above the annotation editor. The link is still behind the
annotation_editor_infoflag, so merging this changes nothing where the flag is off.Part of hypothesis/product-backlog#1753. Follows #7594 and #7595.
What changes
title)The name and description are what Chrome's accessibility tree computes for the link. A screen reader says "Annotation editor help, link", then the description.
How
aria-labelis the same text astitle, so what is shown on hover is what is announced, and what voice control listens for.hiddenelement that the link points to witharia-describedby. A hidden element still describes what points to it, and is not read a second time as text after the link.useId, so two annotations open for editing at once do not share one.What does not change
Where the link is, its icon, colour and size, where it goes, the new tab, the tab order, the feature flag and the Help panel rule. No dependency, build or boot script change.
Testing
MarkdownEditortests:The
checkAccessibilityscenario for the link passes. The whole suite passes: 4,392 tests. Lint, typecheck and formatting pass.🤖 Generated with Claude Code