[Discover] Add focus to h1 element when client side routing is executed #133277
Labels
8.4 candidate
Feature:Discover
Discover Application
Project:Accessibility
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
When we change the route in Discover, the
h1
element of the target route should get focus because of a11y.This seems correlated with https://github.com/elastic/kibana/issues/42379. I'm in favor of setting focus on the H1 of a page view when we swap URLs using client-side routing, so screen readers announce the change properly. I'll do some more research, but I think these are related items.
Originally posted by @1Copenut in #61870 (comment)
The text was updated successfully, but these errors were encountered: