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

refactor(aria): add AriaRole::from_roles #4521

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

Conaclos
Copy link
Member

Summary

Aria allows setting fallbacks in the role attribute. Only the first valid role is taken into account.
This PR introduces AriaRole::from_roles that parses a space-separated list of roles and return the first valid one.

Test Plan

CI must pass

@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Nov 12, 2024
@Conaclos Conaclos merged commit 8a90b89 into main Nov 12, 2024
11 checks passed
@Conaclos Conaclos deleted the conaclos/aria-from-roles branch November 12, 2024 18:17
Copy link

codspeed-hq bot commented Nov 12, 2024

CodSpeed Performance Report

Merging #4521 will not alter performance

Comparing conaclos/aria-from-roles (341b18f) with main (929e86d)

Summary

✅ 99 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant