-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Search:Connectors:SyncRules page]Heading levels announced together with buttons elements #198001
Comments
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
This PR #201359 solves the issue regarding wrapping the Title and the Description within the same Bearing in mind that: <EnterpriseSearchContentPageTemplate
pageChrome={[...connectorsBreadcrumbs, connector?.name ?? '...']}
pageViewTelemetry={tabId}
isLoading={isLoading}
pageHeader={{
description: connector ? <ConnectorDescription connector={connector} /> : '...',
pageTitle: connector ? <ConnectorName connector={connector} /> : '...',
rightSideGroupProps: {
gutterSize: 's',
responsive: false,
wrap: false,
},
rightSideItems: getHeaderActions(index, connector),
tabs: tabs as Array<EuiTabProps & { label: React.ReactNode }>,
}}
>
{selectedTab?.content || null}
</EnterpriseSearchContentPageTemplate>
|
This EUI doc regarding PageTitle confirms that just passing a regular text is the best option rather than an interactive edit inline component: |
@L1nBra I added a task list in the ticket description due to there are things we can fix ini the short term but there are other than qill require more effort. This PR solve some parts of the issue described here and the second task item will be assess by the team to measure the feasibility and the approach. |
Description
Headings should be used correctly and for the text. There shouldn't be two heading level 1 elements. Buttons should be announced as button elements without headings.
Preconditions
Stateful Connectors -> Sync rules page is opened.
Connectors are added.
Steps to reproduce
1.Navigate to button for connector title while using only keyboard by pressing Tab key.
2.Observe screen reader.
3.Press Tab key.
4.Observe Screen reader.
5.Navigate to Edit button for connector title with the keyboard.
6.Press Enter.
7.Navigate to Save or Cancel button.
8.Observe screen reader.
NVDA speech viewer + UI elements
html snippet (component which has description element belongs to h1 element)
Actual Result
Expected Result
Meta Issue
Kibana Version: 8.16.0-SNAPSHOT
OS: Windows 11 Pro
Browser: Chrome Version 130.0.6723.70 (Official Build) (64-bit)
Screen reader: NVDA
WCAG or Vendor Guidance (optional)
Related to: https://github.com/elastic/search-team/issues/8256
Tasks
The text was updated successfully, but these errors were encountered: