discourse/app/assets/stylesheets/common
Martin Brennan e0d2de73d8
A11Y: Improve create account modal for screen readers (#14204)
Improves the create account modal for screen readers by doing the following:

* Making the `modal-alert` section into an `aria-role="alert"` region and making it show and hide using height instead of display:none so screen readers pick it up. Made a change so the field-related error messages are always shown beneath the field.
* Add `aria-invalid` and `aria-describedby` attributes to each field in the modal, so the screen reader will read out the error hint on error. This necessitated an Ember component extension to allow both the `aria-*` attributes to be bound and to render on `{{input}}`.
* Moved the social login buttons to the right in the HTML structure so they are not read out first.
* Added `aria-label` attributes to the login buttons so they can have different content for screen readers.
* In some cases for modals, the title that should be used for the `aria-labelledby` attribute is within the modal content and not the discourse-modal-title title. This introduces a new titleAriaElementId property to the d-modal component that is then used by the create-account modal to read out the
2021-09-03 08:59:22 +10:00
..
admin FEATURE: Add post edits count to user activity (#13495) 2021-08-02 10:15:53 -04:00
base A11Y: Improve create account modal for screen readers (#14204) 2021-09-03 08:59:22 +10:00
components UX: Remove :empty on topic-statuses, clean up (#14227) 2021-09-02 15:35:35 -04:00
foundation FEATURE: New style for personal messages (#13800) 2021-07-21 10:41:04 -04:00
select-kit UX: Select-kit update alignment fixes (#14199) 2021-08-31 17:44:11 +02:00
d-editor.scss DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Cleanup variables/mixins SCSS imports (#11618) 2021-01-05 14:05:34 -05:00
printer-friendly.scss FIX: Clean up topic-timer-info CSS classes, add edit button, and improve UI (#12080) 2021-02-16 12:07:30 +10:00
software-update-prompt.scss DEV: Do not always include software update HTML in DOM (#13291) 2021-06-07 09:40:03 -04:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: Fix mobile progress bar button alignment (#13442) 2021-06-18 15:23:57 -04:00