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

feat(NcAppNavigationItem): Add active property to set active state & use aria-current #4716

Merged
merged 1 commit into from Oct 30, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Oct 30, 2023

☑️ Resolves

When not using vue-router it is currently not possible to set the current navigation item.
Also in both cases the `aria-current´ attribute should be set.

🖼️ Screenshots

image

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@raimund-schluessler
Copy link
Contributor

Needs a rebase since #4715 is in.

@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews feature: app-navigation Related to the app-navigation component labels Oct 30, 2023
…when not using `vue-router`

Also set the `aria-current` attribute on the current active item

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/app-navigation-aria-current branch from 216f962 to 36adbdc Compare October 30, 2023 13:39
@susnux susnux enabled auto-merge October 30, 2023 13:39
@susnux susnux merged commit 5c8ca37 into master Oct 30, 2023
15 checks passed
@susnux susnux deleted the fix/app-navigation-aria-current branch October 30, 2023 13:43
@skjnldsv skjnldsv mentioned this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: app-navigation Related to the app-navigation component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants