Skip to content

[EuiConfirmModal] Title should be wrapped in an HTML heading if provided as a stringΒ #5276

@1Copenut

Description

@1Copenut

Steps to reproduce

  1. Open Kibana instance
  2. Open a modal like the screenshots below
  3. Evaluate with Dev Tools and verify there is text that is styled like a heading, but is semantically a simple DIV

Discard changes to dashboard modal


Clone dashboard modal


Create new tag modal

Actual Result

  • The modals have heading text that has a visual hierarchy that does not match its semantic hierarchy. Text that looks like a heading must be marked up as a heading to convey that importance to all users.

Expected Result

  • Text keeps the current styling, but is marked up as an H2

Kibana Version:
v8.0.0

OS:
MacOS Big Sur

Browser:
Chrome

Relevant WCAG Criteria: Understanding Success Criterion 1.3.1: Info and Relationships - Level A

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