a11y_advanced_options
This option affects the functionality of:
- The Accessibility Checker plugin (
a11ychecker
). - The Image plugin (
image
).
Setting a11y_advanced_options
to true
:
- Adds the Image is decorative option to the Insert/Edit Image dialog, allowing users to specify that an image is decorative and does not require alternative text for accessibility purposes.
- Adds the Image is decorative option to the Accessibility Checker error dialog for images without alternative text or the
role="presentation"
attribute.
Important: When
a11y_advanced_options
is set totrue
,a11ychecker_allow_decorative_images
will default totrue
.
Type: Boolean
Default Value: false
Possible Values: true
, false
Example: Using a11y_advanced_options
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'a11ychecker image',
a11y_advanced_options: true
});
iframe_aria_text
Note: This feature is only available for TinyMCE 5.9 and later.
This option is used to customize the title
attribute on the TinyMCE iframe
element. For example:
<iframe title="Rich Text Area. Press ALT-0 for help."></iframe>
The title
attribute is read by screen-readers to help users identify the editor. This option only applies to TinyMCE classic (iframe) mode and has no effect on inline
editors.
Type: String
Default Value: 'Rich Text Area. Press ALT-0 for help.'
Example: Using iframe_aria_text
tinymce.init({
selector: 'textarea', // change this value according to your html
iframe_aria_text: 'Text Editor'
});
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Can't find what you're looking for? Let us know.
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.