Skip to content

[EuiFilterButton] ARIA attribute not allowed for badge with no role #6011

@Heenawter

Description

@Heenawter

I am in the process of cleaning up some a11y issues for the new input controls on Dashboard, and there is an error for our "Filter by type" dropdown that seems to be coming from the EuiFilterButton component. I tested this component on the EUI docs, and I get the same error I was seeing on the control's side:

image

Seems like either the badge itself or the parent element needs a role, but I can't seem to fix it from the Kibana side - I assume it needs to be fixed on the EUI side? Sorry if I'm totally wrong!

Close up of Errors

image

image

https://dequeuniversity.com/rules/axe/4.4/aria-allowed-attr?application=AxeChrome

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