discourse/app/assets/stylesheets
Martin Brennan c401d6411b
A11Y: Improve create account modal for screen readers (#14234)
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 title

------

This is the same as e0d2de73d8 but
fixes the Ember-input-component-extension to use the public
Ember components TextField and TextArea instead of the private
TextSupport so the extension works in both normal Ember and
Ember CLI.
2021-09-03 13:04:24 +10:00
..
common A11Y: Improve create account modal for screen readers (#14234) 2021-09-03 13:04:24 +10:00
desktop UX: Remove :empty on topic-statuses, clean up (#14227) 2021-09-02 15:35:35 -04:00
mobile UX: Select-kit update alignment fixes (#14199) 2021-08-31 17:44:11 +02:00
vendor FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
admin.scss
color_definitions.scss FEATURE: New style for personal messages (#13800) 2021-07-21 10:41:04 -04:00
common.scss DEV: refactor font sizing into css custom variables (#12746) 2021-04-28 17:21:59 -07:00
desktop_rtl.scss
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
embed.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile_rtl.scss
mobile.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
publish_desktop_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_desktop.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish.scss DEV: Remove SCSS color vars fallbacks (#13035) 2021-05-12 08:56:15 -04:00
test_helper.scss FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
testem.scss DEV: Add colors/styling to Ember CLI and qunit tests (#12617) 2021-04-06 11:48:44 -04:00
wcag.scss FEATURE: Add last visit indication to topic view page. (#13471) 2021-07-05 14:17:31 +08:00
wizard.scss UX: Add Styling step to wizard (#14132) 2021-08-25 17:10:12 -04:00