Skip to content

Custom Select: Questionable attributes #5623

@mfranzke

Description

@mfranzke

The generic surrounding component div element has an aria-invalid-HTML-attribute defined, which doesn't harm, but even also doesn't benefit from that attribute, as those don't change anything on generic elements.

  • We might either want to change this div to a fieldset-HTML-element, on which an aria-invalid-HTML-attribute actually makes sense (needs to get verified)
  • Or remove that attribute in total, mainly to get clean and meaningful code.

aria-invalid={state._validity === 'invalid'}

Additionally some elements in the page are even also referencing this generic element via the form-HTML-attribute:

Even also this reference doesn't make any sense to that generic div-HTML-element.

We should think about what we wanted to achieve by these references and remove or correct those depending on the purpose.

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions