Bug 1885702

Summary: Cypress: Fix 'aria-hidden-focus' accesibility violations
Product: OpenShift Container Platform Reporter: David Taylor <dtaylor>
Component: Management ConsoleAssignee: David Taylor <dtaylor>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6.zCC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1885706 1888985 1890676 1890678 (view as bug list) Environment:
Last Closed: 2021-02-24 15:23:22 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:
Bug Depends On:    
Bug Blocks: 1885706, 1888430, 1888985, 1890676, 1890678    
Attachments:
Description Flags
Cypress a11y violations info. none

Description David Taylor 2020-10-06 19:07:15 UTC
Created attachment 1719478 [details]
Cypress a11y violations info.

The 3 'aria-hidden-focus' a11y viloations in these Cypress tests:

*Running: crud/namespace-crud.spec.ts*

1 accessibility violation was detected for Create Namespace modal

'aria-hidden-focus' │ 'serious' │ 'Ensures aria-hidden elements do not contain focusable elements' │ 1 │
       delete the Namespace

1 accessibility violation was detected for Delete Namespace modal

'aria-hidden-focus' │ 'serious' │ 'Ensures aria-hidden elements do not contain focusable elements' │ 1 │
       delete project

 
Running: monitoring/monitoring.spec.ts

1 accessibility violation was detected for Expire Silence modal

'aria-hidden-focus' │ 'serious' │ 'Ensures aria-hidden elements do not contain focusable elements' │ 1 │{code}
    delete project

You can run these tests in the Cypress Test Runner and click on the a11y violations to see more info. in the Dev-Console, Console. (see attachement)

Comment 2 Yadan Pei 2020-10-20 09:09:10 UTC
Search `accessibility violation was detected` error in CI Junit logs

https://search.ci.openshift.org/?search=accessibility+violation+was+detected&maxAge=48h&context=1&type=junit&name=&maxMatches=5&maxBytes=20971520&groupBy=job 


No aria-hidden-focus accesibility violations found

Comment 5 errata-xmlrpc 2021-02-24 15:23:22 UTC
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