If no label is configured, the default ARIA label is "
Textbox.io Rich Text Editor - <id>" where
<id> is the ID attribute of the element used to load the editor. When the editor fullscreen feature is used, this changes to "
Textbox.io Fullscreen Rich Text Editor - <id>".
If no ID is available on the target element and the default label is in use, a random 6 digit number is used instead.
The default ARIA label is translated into all supported languages, and will match the locale of the editor.
If a label is configured none of the above translation or referencing the target element ID is performed. The string is used exactly as configured.
In this example using default configuration, the ARIA label will be "
Textbox.io Rich Text Editor - blog"
In this example, a simple
configuration object is created that specifies a custom ARIA Label.
The ARIA label will be "
Post Body Text", as none of the default label is included in this scenario.