1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-22 07:06:40 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Pierre Rudloff
ac8c53375a Easier to maintain template structure
This the head and footer don't have to be included everytime and the hierarchy is easier to read
2022-02-03 21:41:07 +01:00
Pierre Rudloff
d4c1357c32 Lint 2020-05-14 00:18:39 +02:00
Damien Senger
ce07a621e5
Improves a11y of password protected video form
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.

To do so, this commit adds a label for the password input and hide it
with a CSS visually-hidden method to not alter the design.

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://gomakethings.com/hidden-content-for-better-a11y/
2019-04-13 13:11:09 +02:00
Pierre Rudloff
8cbf8300d8 fix: Use a main tag for the main part of the page
See https://dequeuniversity.com/rules/axe/2.2/bypass?application=lighthouse
2018-01-16 13:07:10 +01:00
Unknown
e9351d09e0 Finish preparing pot file 2017-05-26 03:58:48 -07:00
Pierre Rudloff
e34b01f2c4 Add support for password protected videos 2016-10-20 23:01:31 +02:00