Skip to content

WIP - Prototype af DOM-enhancments (primært a11y) på form-group#79

Open
rickirunge wants to merge 1 commit into
mainfrom
form-group-a11y-tryout
Open

WIP - Prototype af DOM-enhancments (primært a11y) på form-group#79
rickirunge wants to merge 1 commit into
mainfrom
form-group-a11y-tryout

Conversation

@rickirunge
Copy link
Copy Markdown
Collaborator

@rickirunge rickirunge commented Jul 4, 2023

Et eksperiment hvor der i fds-formgroup laves nogle DOM-manipulationer der sikre følgende:

  • Label er linked til control (control har "id" og label har "for")
  • Hint er linked til control (hint har "id" og control har "aria-describedby")
  • Error-message er linked til control (error-message har "id" og control har "aria-errormessage")
  • Error-message er A11Y-friendly (error-message har "aria-live=potite" og "aria-atomic=true")
  • Control er A11Y-friendly omkring validity (control har "aria-invalid")

@rickirunge rickirunge added the wip Work in progress label Jul 4, 2023
@rickirunge rickirunge self-assigned this Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wip Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant