canvas-lms/packages
Jeff Largent eed550ce62 Don't give RCE the `application` role
It looks like tinymce by default wraps the whole RCE element in a
`role="application"` attribute, which causes NVDA to skip over it as
an editable element.  This switches that to a `role="document"`
attribute to make it more visible to NVDA and other screen readers.

fixes LS-1659
flag = rce_enhancements

Test plan:
  - create a new assignment for a course
  - when in NVDA's "browse" mode, hit the "E" key to skip to the next
    editable text field
  - verify that NVDA does not skip over the RCE to the points field
    any longer
  - ensure that screen readers continue to read content within the
    RCE the same way they did before

Change-Id: If03e1ce8fb7cc4af9dbf3531012cfb4c366cbfce
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/254517
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Daniel Sasaki <dsasaki@instructure.com>
2020-12-08 19:55:43 +00:00
..
babel-preset-pretranslated-format-message Run prettier on packages/ 2019-10-11 19:29:16 +00:00
babel-preset-pretranslated-translations-package-format-message Use new translation package for packages 2020-01-03 20:34:46 +00:00
browserslist-config-canvas-lms rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
canvas-media Move embedding to separate plugin in rce 2020-10-05 18:13:04 +00:00
canvas-planner fix planner opportunities dropdown on mobile 2020-08-21 17:12:14 +00:00
canvas-rce Don't give RCE the `application` role 2020-12-08 19:55:43 +00:00
jest-moxios-utils Run prettier on packages/ 2019-10-11 19:29:16 +00:00
js-utils prefetch user_ids in gradebook 2020-03-19 14:49:20 +00:00
k5uploader Run prettier on packages/ 2019-10-11 19:29:16 +00:00
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock upgrade react from 15.x to 16.x 2018-09-26 19:04:47 +00:00
ready Now that we have streaming, execute JS sooner 2019-09-19 23:10:43 +00:00
translations [i18n] Update package translations 2020-12-08 04:47:59 +00:00