Skip to content

EuiDescribedFormGroup clobbers title semantics #2888

@myasonik

Description

@myasonik

What's happening?

The title text we render inside of a hidden legend and on the actual contents we add a aria-hidden="true".

On top of limiting now what we can put in titles, having a title also be a heading no longer works which breaks all of Advanced Settings and likely other pages throughout Kibana.

What's the impact?

Large. Not only does this impact all semantically meaningful contents within titles, we've used this pattern in other components as well (though I don't remember which).

In the case of Advanced Settings, previously a user could navigate by heading to any setting. Now that's simply not possible as individual settings don't have a heading.

More ripples from this change, it also makes custom setting inaccessible because they render a tooltip in the heading. Probably not the end of the world of custom settings but it does point to a pattern that I'm sure is in use somewhere else that will be made inaccessible.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions