feat(champ.errors): add aria-labelledby error on champs wrapped within a fieldset, make error messages always present and aria-live: assertive on validation error
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr> Co-authored-by: Colin Darie <colin@darie.eu>
This commit is contained in:
parent
331dfd3044
commit
8453e121d7
6 changed files with 14 additions and 11 deletions
|
@ -188,7 +188,7 @@ class Champ < ApplicationRecord
|
|||
end
|
||||
|
||||
def describedby_id
|
||||
"#{html_id}-description" if description.present?
|
||||
"#{html_id}-describedby_id"
|
||||
end
|
||||
|
||||
def log_fetch_external_data_exception(exception)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue