From 35ed5657721b12bd50b422d32d5c5418249d051a Mon Sep 17 00:00:00 2001 From: maureenlholland Date: Tue, 8 Nov 2022 15:13:44 +0000 Subject: [PATCH] Remove aria-disabled from disabled input docs and example (fixes #823) --- CHANGELOG.md | 1 + components/forms/01-input/input.config.yml | 3 +-- components/forms/01-input/input.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f82bb300..6d334be7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * **html:** Added accessible attributes to menu bar (#815). * **css:** Add style rule for the hidden attribute in global reset (#783). * **html:** Use unambiguous date format in sidebar. +* **docs:** Remove aria-disabled from disabled form inputs. # 16.0.1 diff --git a/components/forms/01-input/input.config.yml b/components/forms/01-input/input.config.yml index ed43e753..5c7d9bce 100644 --- a/components/forms/01-input/input.config.yml +++ b/components/forms/01-input/input.config.yml @@ -63,9 +63,8 @@ variants: id: search - name: Disabled notes: | - Disabled controls should have both the `disabled` attribute and `aria-disabled="true"` + Disabled controls should have the `disabled` attribute. ### Links - [MDN `disabled`](https://developer.mozilla.org/docs/Web/HTML/Attributes/disabled) - - [MDN `aria-disabled`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Attributes/aria-disabled) diff --git a/components/forms/01-input/input.html b/components/forms/01-input/input.html index 84719644..bcab5bdf 100644 --- a/components/forms/01-input/input.html +++ b/components/forms/01-input/input.html @@ -12,4 +12,4 @@ # disabled - boolean #} - +