Skip to content

Conversation

@J-Michalek
Copy link
Contributor

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

I've added a generic aria-label to the SliderThumb.

This is not the best solution and I'm open to suggestions on how to best handle this. The aria-label should be customizable on a case by case basis so we should also add a prop to handle this or bind the related attributes from $attrs.

<SliderThumb :aria-label="$attrs['aria-label']" :aria-describedby="$attrs['aria-describedby']" />

The best case scenario is exposing and option to the user to pass in a function/object/array that will return the label for each thumb as the requirements of a11y change between single and multiple thumbs.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions bot added the v4 #4488 label Oct 25, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 25, 2025

npm i https://pkg.pr.new/@nuxt/ui@5313

commit: 81f803d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant