ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
32 stars 8 forks source link

Setting `error-visible` should also set `aria-invalid` and potentially `aria-errormessage` #2428

Open m-akinc opened 1 month ago

m-akinc commented 1 month ago

🐛 Bug Report

The error-visible attribute controls the presentational aspect of a component being in an error state. Besides the visual aspects of that presentation, it should also manage the ARIA attributes to communicate that accessibly.

💁 Possible Solution

🔦 Context

Came up during research for the required input feature. See https://github.com/ni/nimble/pull/2425#discussion_r1785056374