Problem/Motivation
While working on #3507866: [PP-1] Enable the Navigation Top Bar when Navigation is enabled found that Navigation Top Bar has some accessibility issues disclosed by aXe Nightwatch tests.
This issues need to be solved before we can make the Top Bar stable.
From https://git.drupalcode.org/issue/drupal-3507866/-/jobs/4431574
️TEST FAILURE (1m 56s):
- 2 assertions failed; 1433 passed
✖ 1) Tests/a11yTest
– Accessibility - Navigation Module - Claro page (1.698s)
→ ✖ NightwatchAssertError
aXe rule: button-name - Buttons must have discernible text
In element: .toolbar-button--icon--dots
→ ✖ NightwatchAssertError
aXe rule: region - All page content should be contained by landmarks
In element: .top-bar__context