Skip to content

Accessibility: Announce on `<PageTitle />` changes

Administrator requested to merge tr/page-title-sr into main

Created by: umpox

Description

Screen readers do not update when document.title changes. This makes it very difficult for users to be aware that the content of the page has changed, particularly when navigating through a sidebar or a navbar. It seems the best approaches here are:

  1. Move focus to next relevant part of page (if suitable)
  2. Announce document.title changes to the screen reader through aria-live.

This PR focuses on the latter, it's also a recommended approach by deque (creators of axe).

ScreenReaderTitle

Related issues (need checking):

Test plan

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading