aria attributes no longer recognized
See original GitHub issuehttps://github.com/henribru/volar-html-attribute-bug
<button @click="count++" aria-label="foo">count is: {{ count }}</button>
Type ‘{ ariaLabel: string; “aria-label”: string; }’ is not assignable to type ‘ElementAttrs<ButtonHTMLAttributes>’. Property ‘ariaLabel’ does not exist on type ‘ElementAttrs<ButtonHTMLAttributes>’. Did you mean ‘‘aria-label’’?
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:5 (1 by maintainers)
Top Results From Across the Web
aria-invalid - Accessibility - MDN Web Docs
The aria-invalid attribute is used to indicate that the value entered into an input field is not in a format or a value...
Read more >ARIA attributes must conform to valid names | Axe Rules
ARIA attributes starting with aria- must have valid names. Referring to a misspelled attribute or to one that does not exist will result...
Read more >6. Supported States and Properties - W3C
In this document, states and properties are both treated as aria-prefixed ... Use of a given state or property is not defined when...
Read more >aria attributes not allowed? – IDEs Support (IntelliJ Platform)
The aria-label attribute in the inline svg is being flagged by PHPStorm: "Attribute aria-label is not allowed here". This behavior seems involve ...
Read more >How Not To Misuse ARIA States, Properties and Roles
Many content authors will put ARIA properties on content in an attempt to meet accessibility standards and make their content work with assistive...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got something weird,
aria-label
work perfectly. But attributedata-testid
have an error.It happen in
0.36.0
.See https://github.com/johnsoncodehk/volar/issues/1077#issuecomment-1145361472, https://github.com/johnsoncodehk/volar/issues/1077#issuecomment-1146584565.