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(platform): add aria-level to the tabbed dynamic page (#12791) #12933

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

Conversation

edytasporysz
Copy link
Contributor

@edytasporysz edytasporysz commented Jan 16, 2025

Related Issue(s)

fixes #12791

Please check whether the PR fulfills the following requirements

  1. Accessibility testing
  2. Browser Testing - Edge, Safari, Chrome, Firefox
PR Quality

Copy link

netlify bot commented Jan 16, 2025

Deploy Preview for fundamental-ngx ready!

Name Link
🔨 Latest commit 4447549
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-ngx/deploys/679160b43f77040008632fc1
😎 Deploy Preview https://deploy-preview-12933--fundamental-ngx.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.

@edytasporysz edytasporysz changed the title fix(platform): add aria-level to the dynamic page (#12791) fix(platform): add aria-level to the tabbed dynamic page (#12791) Jan 17, 2025
@@ -33,6 +33,7 @@
[colorAssociations]="colorAssociations()"
[attr.tabindex]="idx === 0 ? 0 : -1"
[attr.aria-selected]="item.uId === selectedUid"
[attr.aria-level]="3"
Copy link
Member

@mikerodonnell89 mikerodonnell89 Jan 21, 2025

Choose a reason for hiding this comment

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

Because the aria-level is configurable for the dynamic page title via the headingLevel input, I think this should be set from the dynamic page component, with [attr.aria-level]="_headingLevel() + 1"

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.

Tabbed dynamic page - missing information about heading level
2 participants