Open wilsond-gds opened 2 weeks ago
The common express code adds a role=complimentary to the phase banner code to pass automated accessibility testing.
role=complimentary
However, this affects the rendering of the page in assitive technologies and could be confusing for users. The Design System team have documented the background to their decision to not fix the automated warning.
To keep the service consistent and only inform assitive technology users of the useful areas of the page, remove the role attribute from the nunjucks call on line 32 of base-page.njk.
role
base-page.njk
Tagging @fewtrees-pa for visibility as requested
Issue
The common express code adds a
role=complimentary
to the phase banner code to pass automated accessibility testing.However, this affects the rendering of the page in assitive technologies and could be confusing for users. The Design System team have documented the background to their decision to not fix the automated warning.
Solution
To keep the service consistent and only inform assitive technology users of the useful areas of the page, remove the
role
attribute from the nunjucks call on line 32 ofbase-page.njk
.Tagging @fewtrees-pa for visibility as requested