Skip to content

Set aria label on content and sync with main repo.#5

Merged
tibi2303 merged 4 commits intomasterfrom
content-aria-label
Aug 8, 2025
Merged

Set aria label on content and sync with main repo.#5
tibi2303 merged 4 commits intomasterfrom
content-aria-label

Conversation

@tibi2303
Copy link
Owner

@tibi2303 tibi2303 commented Aug 4, 2025

No description provided.

this.main.main.setAttribute('aria-expanded', 'false');
this.content.main.setAttribute('role', 'listbox');
this.content.list.setAttribute('role', 'listbox');
this.content.list.setAttribute('aria-label', this.settings.contentAriaLabel);

Choose a reason for hiding this comment

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

src/slim-select/render.test.ts is failing, I think we need to update the test too to check the attribute.

@tibi2303 tibi2303 merged commit a78f923 into master Aug 8, 2025
1 check passed
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