Blocked on #3293469: Automated A11y tests in Nightwatch, which performs the checks that surfaced this
Problem/Motivation
The tests added in #3293469: Automated A11y tests in Nightwatch identified the following when visiting the homepage, /user/login, and presumably any page with primary tabs:
NightwatchAssertError
08:56:57 aXe rule: region - All page content should be contained by landmarks
08:56:57 In element: #primary-tabs-title
If this a11y error is considered acceptable (either false positive or there's a tradeoff that provides greater benefit), it's possible to leave something unfixed, but the rationale should be documented within the code.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comments
Comment #2
steinmb commented#3293469: Automated A11y tests in Nightwatch is now in, unblocking
Comment #3
bnjmnmComment #4
mgiffordJust noting that this is a Deque best practice, rather than a WCAG SC. Still important.
https://dequeuniversity.com/rules/axe/4.7/region
Comment #7
quietone commentedThe Olivero theme was approved for removal in #3590816: [policy, no patch] Deprecate Olivero and move to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3595082: [meta] Tasks to deprecate the Olivero theme and the removal work in #3595085: [meta] Tasks to remove the Olivero theme.
Comment #8
kentr commentedI'm seeing this in Default Admin when running tests for #3338664: Migrate Nightwatch Axe tests to PHPUnit.
The element in the error is
#primary-tabs-title, which is different than what I saw for #3583486: Adjust default_admin's top bar to the landmark used with the navigation module. So, I think it's occurring separately under different conditions.Needs STR, though. I only see it in the automated tests, not in the browser using the same installation profile.