diff --git a/src/sidebar/components/Annotation/AnnotationEditor.tsx b/src/sidebar/components/Annotation/AnnotationEditor.tsx index 7b58fa65d5c..f100ce8185a 100644 --- a/src/sidebar/components/Annotation/AnnotationEditor.tsx +++ b/src/sidebar/components/Annotation/AnnotationEditor.tsx @@ -79,7 +79,7 @@ function AnnotationEditor({ // which link to external websites. const showHelpLink = serviceConfig(settings)?.enableHelpPanel ?? true; - // The "About the Annotation editor" link also goes to an external website, + // The "Annotation Editor Help" link also goes to an external website, // so it follows the same rule, on top of its feature flag. const showEditorInfoLink = showHelpLink && store.isFeatureEnabled('annotation_editor_info'); diff --git a/src/sidebar/components/MarkdownEditor.tsx b/src/sidebar/components/MarkdownEditor.tsx index 4cb943a96cb..9270a641c72 100644 --- a/src/sidebar/components/MarkdownEditor.tsx +++ b/src/sidebar/components/MarkdownEditor.tsx @@ -571,7 +571,7 @@ function EditorInfoLink() { href="https://web.hypothes.is/help/using-the-annotation-editor/" target="_blank" rel="noopener noreferrer" - title="About the Annotation editor" + title="Annotation Editor Help" aria-label="About the Annotation editor. Learn what this text field is for. Opens Help Center article in a new tab." underline="none" variant="custom" @@ -606,8 +606,8 @@ export type MarkdownEditorProps = { showHelpLink?: boolean; /** - * Whether to display the "About the Annotation editor" link above the - * toolbar. Defaults to false. + * Whether to display the "Annotation Editor Help" link above the toolbar. + * Defaults to false. */ showEditorInfoLink?: boolean; diff --git a/src/sidebar/components/test/MarkdownEditor-test.js b/src/sidebar/components/test/MarkdownEditor-test.js index 14b480f7d24..3b2592c7b22 100644 --- a/src/sidebar/components/test/MarkdownEditor-test.js +++ b/src/sidebar/components/test/MarkdownEditor-test.js @@ -524,7 +524,7 @@ describe('MarkdownEditor', () => { const wrapper = createComponent({ showEditorInfoLink: true }); const link = wrapper.find(linkSelector).getDOMNode(); - assert.equal(link.getAttribute('title'), 'About the Annotation editor'); + assert.equal(link.getAttribute('title'), 'Annotation Editor Help'); assert.equal( link.getAttribute('aria-label'), 'About the Annotation editor. Learn what this text field is for. Opens Help Center article in a new tab.',