News for hackers. Stuff that matters.
Re:Lit: Simple. Fast. Web Components by claviska on Friday July 21, 2023 @08:18AM (#36812940)
The goal is to handle as much accessibility as possible with smart defaults and by making it easy for users to get right. Currently, all aria stuff is handled internally the components. For example, look at <sl-input> and you’ll see that the input, label, and help text are automatically linked in the shadow root. The minimum the user needs to provide is a label and assistive devices work as expected.

There are no comments on this comment yet.