Skip to content

Commit 46d7388

Browse files
[9.0] [a11y][ml] Add visually hidden label for screenreader for open documentation button (elastic#224047) (elastic#224240)
# Backport This will backport the following commits from `main` to `9.0`: - [[a11y][ml] Add visually hidden label for screenreader for open documentation button (elastic#224047)](elastic#224047) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Paulina Shakirova","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-17T11:52:24Z","message":"[a11y][ml] Add visually hidden label for screenreader for open documentation button (elastic#224047)\n\nThis PR resolves [[ML] ES|QL Data Visualizer: The button to access es|ql\nquick reference is missing discernible\ntext](elastic#217094) issue.\n\n\nhttps://github.com/user-attachments/assets/09e18f9f-eb06-4468-bc72-c0c4e46a642e","sha":"f03c565daf7796fc79b70fc9f540f86d44d224f2","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","a11y","v9.1.0"],"title":"[a11y][ml] Add visually hidden label for screenreader for open documentation button","number":224047,"url":"https://github.com/elastic/kibana/pull/224047","mergeCommit":{"message":"[a11y][ml] Add visually hidden label for screenreader for open documentation button (elastic#224047)\n\nThis PR resolves [[ML] ES|QL Data Visualizer: The button to access es|ql\nquick reference is missing discernible\ntext](elastic#217094) issue.\n\n\nhttps://github.com/user-attachments/assets/09e18f9f-eb06-4468-bc72-c0c4e46a642e","sha":"f03c565daf7796fc79b70fc9f540f86d44d224f2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224047","number":224047,"mergeCommit":{"message":"[a11y][ml] Add visually hidden label for screenreader for open documentation button (elastic#224047)\n\nThis PR resolves [[ML] ES|QL Data Visualizer: The button to access es|ql\nquick reference is missing discernible\ntext](elastic#217094) issue.\n\n\nhttps://github.com/user-attachments/assets/09e18f9f-eb06-4468-bc72-c0c4e46a642e","sha":"f03c565daf7796fc79b70fc9f540f86d44d224f2"}}]}] BACKPORT--> Co-authored-by: Paulina Shakirova <[email protected]>
1 parent 0a64122 commit 46d7388

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/platform/packages/private/kbn-esql-editor/src/editor_footer/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ export const EditorFooter = memo(function EditorFooter({
270270
data-test-subj="ESQLEditor-documentation"
271271
size="m"
272272
onClick={() => toggleLanguageComponent()}
273+
aria-label={i18n.translate('esqlEditor.query.documentationAriaLabel', {
274+
defaultMessage: 'Open documentation',
275+
})}
273276
css={css`
274277
cursor: pointer;
275278
`}

0 commit comments

Comments
 (0)