You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The aria value of the validationBehavior prop does not work as expected for the <Select/> component.
An aria-invalid attribute is not being set in the dom.
🤔 Expected Behavior?
When the <Select/> component is invalid and the validationBehavior prop is set to aria, an aria-invalid attribute should appear in the dom.
😯 Current Behavior
The component receives the data-invalid attribute. But an aria-invalid attribute can not be found.
💁 Possible Solution
No response
🔦 Context
I would expect the behavior to be similar to the validationBehavior props from <ComboBox/>. Here the <Input/> component sets the aria-invalid attribute to true, if the <ComboBox/> component is invalid.
aria-invalid is not supported on button elements according to the ARIA spec. It's only supported on inputs. Can you describe why this is a problem for you?
Provide a general summary of the issue here
The
aria
value of thevalidationBehavior
prop does not work as expected for the<Select/>
component.An
aria-invalid
attribute is not being set in the dom.🤔 Expected Behavior?
When the
<Select/>
component is invalid and thevalidationBehavior
prop is set toaria
, anaria-invalid
attribute should appear in the dom.😯 Current Behavior
The component receives the
data-invalid
attribute. But anaria-invalid
attribute can not be found.💁 Possible Solution
No response
🔦 Context
I would expect the behavior to be similar to the
validationBehavior
props from<ComboBox/>
. Here the<Input/>
component sets thearia-invalid
attribute totrue
, if the<ComboBox/>
component is invalid.🖥️ Steps to Reproduce
https://codesandbox.io/p/sandbox/exciting-mirzakhani-jv4zpz?workspaceId=ws_R7CWoq4CRHAjZhDgunSPoB
Version
3.31.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS 15.1.1
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: