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-9762: Accessibility improvements for the table of contents (TOC) #724

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

teroelonen
Copy link
Contributor

@teroelonen teroelonen commented Mar 28, 2024

UHF-9762

What was done

  • Added tabindex=-1 attribute to all elements that the table of contents creates anchors to avoid issues with screen readers.
  • Add toc-focusable css class to all elements that are used as anchors on table of contents.

How to install

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

How to test

Other PRs

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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