We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66e77a commit 8a5d853Copy full SHA for 8a5d853
src/util/tags.js
@@ -127,7 +127,7 @@ function isTransition(name) {
127
}
128
129
function isHtmlAttribute(value) {
130
- return ["id", "class"].includes(value) || value.startsWith("data-");
+ return ["id", "class", "role"].includes(value) || value.startsWith("data-") || value.startsWith("aria-");
131
132
133
export { isHtmlTag, isHtmlAttribute, isTransition };
0 commit comments