Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC-2787 Keyboard only users are not able to access sub-navigation links #3798

Merged
merged 7 commits into from
Sep 28, 2022

Conversation

glo82145
Copy link
Collaborator

@glo82145 glo82145 commented Apr 27, 2022

Description

Keyboard only users are not able to access sub-navigation links.

Closes PWA-2811

Environment
Adobe Magento - Venia

Context
Windows 10; Chrome 88;

Reproduction Steps
[NODE][body>div:nth-of-type(1)>:nth-child(1)>:nth-child(2)]

  1. Mouse over a primary navigation item with sub-items, such as "Bottoms", to observe the sub-items revealed on hover.
  2. Press Tab to move through the content; observe that sub-items are not revealed on keyboard focus.

Actual Behavior
Sub-navigation links revealed on mouse hover are not made visible on keyboard focus. These links cannot be accessed by keyboard-only users.

Expected Behavior
Ensure that all functionality can be activated using a keyboard alone. Content revealed on mouse hover should also be revealed on keyboard focus, or else another mechanism should be provided to access these sub-navigation items.

Related Issue

Closes https://jira.corp.magento.com/browse/AC-2787

Acceptance

Verification Stakeholders

Specification

Verification Steps

✔️ QA Passed
Pre-Conditions:

  1. Have Magento instance with sample data installed

  2. Make sure to have pwa studio installed

  3. Make sure to have a customer login for front end login

Manual Steps executed:

Login to venia > Navigate to global header accessories or other
Press Tab to move through the content and observe that sub-items are revealed on keyboard focus
Access to sub-navigation links revealed on tab

✖️ Behaviour Before The Fix : Sub-navigation links revealed on mouse hover are not made visible on keyboard focus. These links cannot be accessed by keyboard-only users.

✔️Behaviour After The Fix: All functionality is activated using a keyboard alone.

image

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

Resolved issues:

  1. resolves [Issue] AC-2787 Keyboard only users are not able to access sub-navigation links #3829: AC-2787 Keyboard only users are not able to access sub-navigation links

@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Apr 27, 2022

Messages
📖

Associated JIRA tickets: PWA-2811.

📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by 🚫 dangerJS against 66e2c75

@supernova-at
Copy link
Contributor

@magento create issue from PR

@anthoula anthoula added the version: Minor This changeset includes functionality added in a backwards compatible manner. label Sep 2, 2022
@anthoula anthoula changed the base branch from GL-web-accessibility to develop September 8, 2022 14:30
anthoula
anthoula previously approved these changes Sep 15, 2022
@anthoula
Copy link
Contributor

run all tests

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 15, 2022

Successfully started codebuild job for the following test suites:

lighthouse-mobile
pr-test
scaffold-pwa
cypress
lighthouse-desktop

@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Sep 15, 2022

Fails
🚫

node failed.

Log

ERROR ON TASK: cypressTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 66e2c75

@dpatil-magento
Copy link
Contributor

run cypress

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 19, 2022

Successfully started codebuild job for cypress

@dpatil-magento
Copy link
Contributor

@glo82145 When I click on category link > Category loads thats good but after clicking soft-overlay does not close. User has to make one more click outside to get that closed. Please take a look.

@dpatil-magento
Copy link
Contributor

run cypress

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 28, 2022

Successfully started codebuild job for cypress

@dpatil-magento
Copy link
Contributor

run cypress @authuser

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 28, 2022

Successfully started codebuild job for cypress with tags @authuser

@dpatil-magento
Copy link
Contributor

run lighthouse-desktop

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 28, 2022

Successfully started codebuild job for lighthouse-desktop

@dpatil-magento
Copy link
Contributor

run lighthouse-mobile

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 28, 2022

Successfully started codebuild job for lighthouse-mobile

@dpatil-magento
Copy link
Contributor

QA Approve.\

@dpatil-magento dpatil-magento merged commit 23d93ca into magento:develop Sep 28, 2022
@m2-community-project m2-community-project bot moved this from Reviewer Approved to Done in Pull Request Progress Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:venia-ui Progress: done version: Minor This changeset includes functionality added in a backwards compatible manner.
Development

Successfully merging this pull request may close these issues.

[Issue] AC-2787 Keyboard only users are not able to access sub-navigation links
5 participants