-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add reverted aria audit rules for dev toolbar #9377
Conversation
🦋 Changeset detectedLatest commit: c843b04 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
⚖️ Bundle Size CheckLatest commit: c843b04
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I would update the variable names, and use camel case, since that's what we use in the code base
@@ -489,3 +563,81 @@ const a11y_non_interactive_element_to_interactive_role_exceptions = { | |||
td: ['gridcell'], | |||
fieldset: ['radiogroup', 'presentation'], | |||
}; | |||
|
|||
const combobox_if_list = ['email', 'search', 'tel', 'text', 'url']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change snake case names to camel case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can change them to camelCase. It was snake_case as it's borrowed from Svelte and that's the convention they use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like there's a lot that uses snake_case. I think maybe we should do one PR later to convert them all at once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs is happy! 🥳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
Changes
Un-revert #9295 and #9293
The main change is adding
optimizeDeps.include: ['astro > aria-query', 'astro > axobject-query']
to fix it.Testing
Tested manually with
pnpm link
, andpnpm pack
+ install locally (to emulate when it's published)Docs
It doesn't seem like we document the audit rules today.