Skip to content

EuiDescribedFormGroup clobbers title semantics #2888

Closed

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.

Activity

  1. cchaos commented on Feb 21, 2020

    @cchaos
    Contributor

    I think that aria-hidden attribute snuck in there from this PR #2783 when the original attempt was to hide the descriptions entirely to use the aria-describedby. @miukimiu Correct me if I'm wrong, but that shouldn't be there, yes?

  2. cchaos commented on Feb 21, 2020

    @cchaos
    Contributor

    Oh wait nm, I walk that back. I see the hidden legend now.

  3. myasonik commented on Feb 24, 2020

    @myasonik
    ContributorAuthor

    Added this to the description too we found another impact in Kibana:

    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.

  4. self-assigned this
    on Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions