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

Core 510 nav elements with aria label #71

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

jomcarvajal
Copy link
Contributor

Card: https://openstax.atlassian.net/browse/CORE-510

Update

elements with aria-label or aria-labelledby

Before:
Screenshot 2025-02-17 at 7 16 55 AM

After:
Screenshot 2025-02-17 at 7 15 52 AM

@jomcarvajal jomcarvajal requested a review from jivey February 17, 2025 15:45
@@ -176,6 +177,7 @@ export const SidebarNav = styled(
id={id}
ref={sidebarNavRef}
data-testid="sidebarnav"
aria-label={ariaLabel}
Copy link
Member

Choose a reason for hiding this comment

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

Typo, this needs to be ariaLabel so it gets sent as the right prop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you mean line 227 in BodyPortal props? I saw the typo error there

Copy link
Member

Choose a reason for hiding this comment

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

oops yes I picked the wrong one

@jomcarvajal jomcarvajal merged commit d8c3784 into main Feb 18, 2025
3 checks passed
@jomcarvajal jomcarvajal deleted the CORE-510-nav-elements-with-aria-label branch February 18, 2025 19:51
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