alltube/templates
Damien Senger 596d5e2994
Adds and fixes labels for video.tpl inputs
According to the WCAG success criterias 1.3.1 (Info and relationships),
3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
or instructions are required when content requires user input.

The bit rate label was replaced by a real label announcing the purpose
of the text input _Custom bitrate_. The existing unit indication is now
using a `<span>` attribute and it is linked to the input using an
`aria-describedby` attribute.

Also, the lack of label for the format conversion selectbox is fixed
by using a specific `aria-label` attribute.

Resources:
- https://www.w3.org/TR/WCAG21/#labels-or-instructions
- https://www.w3.org/TR/WCAG21/#info-and-relationships
- https://www.w3.org/TR/WCAG21/#name-role-value
- https://www.w3.org/TR/WCAG20-TECHS/H44.html
- https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
- https://www.w3.org/TR/WCAG20-TECHS/ARIA1.html
2019-04-13 13:18:32 +02:00
..
inc Updates the doctype to be lowercase 2019-04-13 12:51:49 +02:00
error.tpl fix: Use a main tag for the main part of the page 2018-01-16 13:07:10 +01:00
extractors.tpl Finish preparing pot file 2017-05-26 03:58:48 -07:00
index.tpl Adds a label to audio options inputs 2019-04-13 12:57:42 +02:00
password.tpl Improves a11y of password protected video form 2019-04-13 13:11:09 +02:00
playlist.tpl fix: Use a main tag for the main part of the page 2018-01-16 13:07:10 +01:00
video.tpl Adds and fixes labels for video.tpl inputs 2019-04-13 13:18:32 +02:00