-
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][a11y] Fixing connectors pageHeader hirarchy content #201359
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
cc @JoseLuisGJ |
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.
Small request; can you provide a gif of you interacting with the title/description just to confirm the functionality still works?
Sure @navarone-feekery : CleanShot.2024-11-22.at.15.13.48.mp4 |
Good point @jedrazb there are still buttons within the
As commented here in the original issue ticket: we, from Search POV, can solve the issue regarding H1 not wrapping the description. But 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>
|
Replace the existing
ConnectorNameAndDescription
component with separateConnectorName
andConnectorDescription
components for improved accessibility as pointed out in this issue #198001 . Now only the H1 wraps the Title and the Descriptions is out of it.Before:
After: