Bug 1897008
Summary: | Cypress: reenable check for 'aria-hidden-focus' rule & checkA11y test for modals | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | David Taylor <dtaylor> |
Component: | Management Console | Assignee: | David Taylor <dtaylor> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.7 | CC: | aos-bugs, jokerman, spadgett, yapei |
Target Milestone: | --- | Keywords: | UpcomingSprint |
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:32:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
David Taylor
2020-11-12 04:00:14 UTC
Created attachment 1735350 [details]
Elements inside of <div id="app" aria-hidden="true> which should be disabled when modal open
Created attachment 1735358 [details]
Elements inside of <div id="app" aria-hidden="true> which should have tabindex=-1 or removed from DOM when modal open
Please see attached screenshots showing the nodes (40!) within <div id="app" aria-hidden="true> which have accesibility violations when modal is open. PR https://github.com/openshift/console/pull/7382 re-enables the a11y check for 'aria-hidden-focus' rule, and allows A11y testing of Modals by limiting the a11y check to the context/selector of just the modal in isolation, not in relation to rest of application. This is a step in the right direction and the best solution until such time as we want to manually & dynamically add/remove 'tabindex=-1' to the 9 violating elements, and 'aria-disabled 'to the 31 other elements! (see attached screenshots) it looks like this PR just enable check for 'aria-hidden-focus' rule and checkA11y test for modals, no function is impacted Moving to VERIFIED let me know if needs more verification steps Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |