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

Add visually-hidden class #6356

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

JeffersonBledsoe
Copy link
Member

@JeffersonBledsoe JeffersonBledsoe commented Sep 30, 2024

This PR adds a visually-hidden class which is useful in situations where you want to provide additional information to Assistive Technology and an aria-label may not be appropriate.

Questions

  • Should this be 'CMS' only? Or should we provide this utility class for users of the Volto view-mode to rely on too.

Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for plone-components ready!

Name Link
🔨 Latest commit 9da45c9
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/6704f3ed9296690008812d55
😎 Deploy Preview https://deploy-preview-6356--plone-components.netlify.app
📱 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 configuration.

@JeffersonBledsoe JeffersonBledsoe added the 99 tag: UX Accessibility Accessibility issues label Sep 30, 2024
@JeffersonBledsoe JeffersonBledsoe marked this pull request as ready for review September 30, 2024 15:47
@@ -61,3 +61,16 @@ body:not(.has-sidebar):not(.has-sidebar-collapsed) {
}
}
}

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

there might be something from semantic already for visually hidden

@sneridagh
Copy link
Member

@JeffersonBledsoe @ichim-david if we do this, we need that also in @plone/components (for now) to have it also in the future theming.

@sneridagh
Copy link
Member

@JeffersonBledsoe it seems you pushed more changes than the needed in this PR. Can you take a look, please? you deleted things and files, that we cannot remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
99 tag: UX Accessibility Accessibility issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants