discourse/app
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
..
assets A11Y: Improve create account modal for screen readers (#14204) 2021-09-03 08:59:22 +10:00
controllers FEATURE: option to update default notification level of existing users. (#14084) 2021-08-31 16:11:26 +05:30
helpers DEV: Allow us to use Ember CLI assets in production 2021-08-05 08:32:33 -04:00
jobs DEV: Introduce PresenceChannel API for core and plugin use 2021-08-27 16:26:06 +01:00
mailers UX: suspend forever time period messages (#13776) 2021-07-20 14:42:08 +04:00
models DEV: Allow passing cook_method to TopicEmbed.import to override default (#14209) 2021-09-01 15:46:39 -03:00
serializers PERF: Make TopicViewSerializer#requested_group_name more efficient. (#14196) 2021-08-31 12:05:32 +08:00
services DEV: Do not delete failed uploads from S3 in debug mode (#14143) 2021-08-25 15:35:55 +10:00
views UX: display correct replies count in embedded comments view. (#14175) 2021-08-30 10:37:53 +05:30