diff --git a/source b/source index 5ee8791e54a..0123cb253d5 100644 --- a/source +++ b/source @@ -4280,6 +4280,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
aria-describedby
aria-disabled
aria-label
aria-hidden
Finally, the following terms are defined ARIA: ARIA
@@ -4294,6 +4295,18 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute +The following terms are defined in Web Content Accessibility Guidelines + (WCAG): WCAG
+ +Decorative image elements are images which are pure decoration, and + therefore provide no information and have no functionality. Therefore, if they are removed from + the rendering, there is no loss of information to users.
+ +The following are decorative image elements:
+ +img
elements with the alt
attribute set to an
+ empty string.svg
elements with the aria-hidden
attribute set.Non-decorative image elements are images which have alt text provided.
+ +The following are non-decorative image elements:
+ +img
elements with the alt
attribute set to a
+ non-empty string.svg
elements with TODO what is the preferred way to set alt
+ text on an svg?Select element inner content elements are option
elements and other
+ elements which are used to group and decorate them with a select
element.
The following are select element inner content elements:
+ +option
elements.optgroup
elements.hr
elements.noscript
elements.div
elements.span
elements.option
, optgroup
, hr
, and script-supporting elements.button
.autocomplete
select
element.select
element.option
and script-supporting elements.disabled
select
element.select
element.datalist
element.optgroup
element.optgroup
element.label
attribute and a value
attribute: Nothing.label
attribute but no value
attribute: Text.label
attribute and is not a
- child of a datalist
element: Text that is not
- inter-element whitespace.label
attribute and is a child
- of a datalist
element: Text.label
attribute: Text content and zero or more div
, span
, noscript
, non-decorative image, and script-supporting elements.disabled