Galleria: 'Indicator' Slot, Keyboard Accessibility Broken #6899
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using the #indicator slot, keyboard accessibility is lost.
Using the default indicators generates button tags that can be navigated with arrow keys. When using the slot, rather than the contents of the slot becoming the child of the accessible button, it replaces the button.
I'd like to use a custom visual component as an indicator, while maintaining keyboard navigation accessibility.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-9wjvhn?file=src%2FApp.vue
PrimeVue version
4.2.4
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
Go to Stackblitz link. The below instructions are copied to the stackblitz.
a. Click image
b. Press 'Tab' to move focus onto indicators
c. Press arrow keys to move focus
a. Uncomment the indicator slot (line 62) by deleting the wrapping comment block syntax
a. Go through Step 1 and notice how it doesn't work.
Expected behavior
I expect keyboard accessibility to remain the same when using a custom indicator component via the Galleria's provided #indicator slot.
The text was updated successfully, but these errors were encountered: