[Lens] (Accessibility) Improve landmarks in Lens #83597
Labels
accessibility best practice
enhancement
New value added to drive a business result
Feature:Lens
loe:small
Small Level of Effort
Project:Accessibility
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Projects
Ignoring global areas of Kibana, there are 3 main sections to Lens: the left sidebar, the center graph area, and the right sidebar.
Today, the center graph area is a
main
and the two other sections are nothing.The fix
All 3 sections should be wrapped in a
<main>
.main
from where it is now (only 1main
is allowed on the page at a time).aria-labelledby={idOfH1}
to pave over some browser inconsistencies with how regions are named.<h1>
for the unsaved state: right now, it just puts the heading atUnsaved
but doesn't really tell you what page you're on or what's unsaved. MaybeUnsaved Lens Visualization
is a better<h1>
though feel free to suggest whatever you think might be most descriptive.The 3 sections should be wrapped in
<section>
tags<h2>
with what that section is (can be visually hidden). Maybe "Fields list", "Visualization workspace", and "Layer controls" but y'all know your app best.aria-labelledby={idOfChildH2}
to the<section>
The text was updated successfully, but these errors were encountered: