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

fix(accessibility): Pagination, carousel, gallery and news-ticker - FRONT-3591 #2375

Merged
merged 6 commits into from
Apr 19, 2022

Conversation

papegaill
Copy link
Contributor

@papegaill papegaill commented Mar 30, 2022

Fix accessibility issues for the following EC & EU components:

Pagination
https://ec.europa.eu/component-library/playground/ec/?path=/story/components-navigation-pagination--default

  • Elements must only use allowed ARIA attributes

Carousel
https://ec.europa.eu/component-library/playground/ec/?path=/story/components-carousel--default

  • ARIA hidden element must not contain focusable elements

Media container
https://ec.europa.eu/component-library/playground/ec/?path=/story/components-media-container--embedded-video

  • Frames should be tested with axe-core

News Ticker
https://ec.europa.eu/component-library/playground/ec/?path=/story/components-news-ticker--default

  • ARIA hidden element must not contain focusable elements
  • Buttons must have discernible text

Button

  • New hide_label parameter added for screen reader only

@github-actions
Copy link

github-actions bot commented Mar 30, 2022

@emeryro emeryro self-assigned this Apr 5, 2022
@emeryro emeryro changed the title fix(accessibility): Pagination, carousel, gallery and news-ticker - FRONT3591 fix(accessibility): Pagination, carousel, gallery and news-ticker - FRONT-3591 Apr 5, 2022
@emeryro emeryro removed their assignment Apr 5, 2022
Copy link
Contributor

@emeryro emeryro left a comment

Choose a reason for hiding this comment

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

That's good for me.
Could you just add in the PR description that we added this new "hide_label" parameter?

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.

2 participants