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

Stepped process: convert current step to plain text for better accessibility #1663

Merged
merged 3 commits into from Nov 30, 2022

Conversation

MewenLeHo
Copy link
Contributor

@MewenLeHo MewenLeHo commented Nov 25, 2022

Description

Convert link to current step to plain text.

Motivation & Context

The current step can't be a link because it's the active page. In addition it should not be possible to focus it.
I converted it to plain text by removing the unnecessary href="#" attribute.

Types of change

  • New feature (non-breaking change which adds functionality)

Live previews

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • My change introduces changes to the migration guide
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@MewenLeHo MewenLeHo added v5 accessibility docs Improvements or additions to documentation fix upcoming a11y review labels Nov 25, 2022
@MewenLeHo MewenLeHo self-assigned this Nov 25, 2022
@netlify
Copy link

netlify bot commented Nov 25, 2022

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 193842a
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/63874e3057d314000ed5f0dd
😎 Deploy Preview https://deploy-preview-1663--boosted.netlify.app/docs/5.2/migration
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR should be discussed as well with the designers just to validate the behavior; IMO this behavior (+ the states) should be described in the DSM.

Another thing about the rendering, the stepped process item shouldn't be underlined when hovering it since it is not a link anymore.

@sonarcloud
Copy link

sonarcloud bot commented Nov 30, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@julien-deramond julien-deramond merged commit cdcadcb into main Nov 30, 2022
@julien-deramond julien-deramond deleted the main-mlh-fix-accessibility-steooed-process branch November 30, 2022 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants