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

UHF-X: Remove aria-haspopup from dropdown menu #585

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Arkkimaagi
Copy link
Contributor

@Arkkimaagi Arkkimaagi commented Mar 16, 2023

UHF-X

As WAI-ARIA spec has changed to limit the usage of this attribute only to role="menu", we got recommendation from Siteimprove Tero P to stop using this previously recommended practise.

Check #dev-helfi-hds channel in slack for more info.

What was done

  • The aria-haspopup attribute was removed as recommended by experts

How to install

  • Make sure your instance is up and running on latest dev branch.
    • git pull origin dev
    • make fresh
  • Update the HDBT theme
    • composer require drupal/hdbt:dev-UHF-X_remove_aria_haspopup
  • Run make drush-cr

How to test

  • Check that the aria-haspopup was removed properly
  • Check that code follows our standards

Designers review

  • This PR does not need designers review

As WAI-ARIA spec has changed to limit the usage
of this attribute only to role="menu", we got
recommendation from Siteimprove Tero P to
stop using this previously recommended practise.
Copy link
Contributor

@khalima khalima left a comment

Choose a reason for hiding this comment

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

Can be merged 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants