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

[Accessibility] Ensures ARIA attributes are allowed for an element's role #4594

Merged
merged 15 commits into from
Jul 19, 2022

Conversation

dmitry-kurmanov
Copy link
Member

@@ -190,6 +190,10 @@ export class QuestionDropdownModel extends QuestionSelectBase {
event.stopPropagation();
}
}

public get ariaRole(): string {
return "listbox";
Copy link
Collaborator

Choose a reason for hiding this comment

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

why the role is "listbox" and not "combobox"?

Copy link
Member Author

Choose a reason for hiding this comment

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

let's discuss it probably combobox wil be better choice

@tsv2013 tsv2013 merged commit 36c80d5 into master Jul 19, 2022
@tsv2013 tsv2013 deleted the feature/creator-1644-a11y branch July 19, 2022 09:07
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.

None yet

3 participants