Merge pull request #10315 from mfo/US/drop-usage-of-invalid-aria
ETQ usager : pas d'`aria-invalid`
This commit is contained in:
commit
3e89921683
1 changed files with 2 additions and 4 deletions
|
@ -60,8 +60,7 @@ module Dsfr
|
|||
def input_error_opts
|
||||
{
|
||||
aria: {
|
||||
describedby: describedby_id,
|
||||
invalid: errors_on_attribute?
|
||||
describedby: describedby_id
|
||||
}
|
||||
}
|
||||
end
|
||||
|
@ -77,8 +76,7 @@ module Dsfr
|
|||
|
||||
if errors_on_attribute?
|
||||
@opts.deep_merge!(aria: {
|
||||
describedby: describedby_id,
|
||||
invalid: errors_on_attribute?
|
||||
describedby: describedby_id
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue