💅 useAriaPropsSupportedByRole should not report an error when "role" is dynamic #4842
Open
1 task done
Labels
S-Needs triage
Status: this issue needs to be triaged
Environment information
Rule name
useAriaPropsSupportedByRole
Playground link
https://biomejs.dev/playground/?lintRules=all&files.main.tsx=YwBvAG4AcwB0ACAAcgBvAGwAZQAgAD0AIAAiAGcAcgBvAHUAcAAiADsACgBjAG8AbgBzAHQAIABfAGUAbAAgAD0AIAA8AGQAaQB2ACAAcgBvAGwAZQA9AHsAcgBvAGwAZQB9ACAAYQByAGkAYQAtAGwAYQBiAGUAbAA9ACIASABlAGwAbABvACIALwA%2BADsACgA%3D
Expected result
It should not claim that any attributes are unsupported by the role, because it doesn't know what the role is.
Code of Conduct
The text was updated successfully, but these errors were encountered: