Commit graph

119 commits

Author SHA1 Message Date
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
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
Damien Senger
726e9bf5c1
Adds a label to audio options 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.

To do so, this commit adds a label for the "From" and the "To" inputs
displayed when a user chose to get the audio of a file only.

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
2019-04-13 12:57:42 +02:00
Damien Senger
27543f9024
Updates the doctype to be lowercase 2019-04-13 12:51:49 +02:00
Damien Senger
60350747a5
Adds a label to social sharing links
According to the WCAG (success criterias 2.4.4 and 4.1.2), the purpose
of each link should be determined from the link text alone or from the
link text together with its programmatically determined link context.

In this case, because there is no text content, we are using
`aria-label` to have an explicit purpose announced to users of
assisting technologies.

Resources:
- https://dequeuniversity.com/rules/axe/3.2/link-name
- https://www.w3.org/TR/WCAG21/#link-purpose-in-context
- https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html
2019-04-13 12:19:11 +02:00
Pierre Rudloff
c6cf05f8ec refactor: Move app name to a config variable
See #205
2019-01-06 16:59:16 +01:00
Pierre Rudloff
05812e4b0e fix: Use a broader pattern for timestamps
ffmpeg accepts HOURS:MM:SS.MILLISECONDS
2018-09-11 17:04:16 +02:00
Alex Silva
a06d2ec82d
Update index.tpl 2018-09-07 18:17:45 -03:00
Alex Silva
1fd3b7a838
Update index.tpl 2018-09-07 18:14:20 -03:00
Alex Silva
4ef358258c
Added pattern 2018-09-07 15:43:16 -03:00
Alex Silva
7c8a78d574
Update index.tpl
remove placeholder
2018-08-17 11:36:53 -03:00
Alex Silva
d39b301ad2
better input method? 2018-08-17 11:28:27 -03:00
Pierre Rudloff
2efe969212 chore: Missing translations 2018-07-03 20:16:37 +02:00
Pierre Rudloff
f1cf0a2cdc feat: Add a way to trim the audio 2018-07-03 19:47:35 +02:00
Pierre Rudloff
8a3b139603 chore: Add missing string to locales 2018-05-29 18:46:44 +02:00
Pierre Rudloff
27737ef49f feat: Add donate link to footer 2018-05-29 18:41:12 +02:00
Pierre Rudloff
ac4f6e72b8 fix: Remove empty format from format list
Introduced by 4972c8ab8e

Fixes #170
2018-05-19 16:16:20 +02:00
Pierre Rudloff
af07826dac fix: Remove link to Facebook page
Since we don't use it anymore
2018-03-26 11:53:17 +02:00
Pierre Rudloff
ae1bb4d3f9 fix: Missing translatable string 2018-01-25 00:00:11 +01:00
Pierre Rudloff
4972c8ab8e feat: Add a new convertAdvanced option
It allows user to convert videos to several other audio/video formats

Fixes #148
2018-01-24 23:31:21 +01:00
Pierre Rudloff
bd00fd76ec perf: Add rel="noopener" on external links
See https://developers.google.com/web/tools/lighthouse/audits/noopener
2018-01-16 13:10:51 +01: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
Pierre Rudloff
7c35b7e2f3 Typo 2017-09-12 23:21:38 +02:00
Pierre Rudloff
a04cbeceee Merge branch 'master' into develop 2017-09-09 16:31:22 +02:00
Pierre Rudloff
785a2f01a4 Hotfix: remove buggy autofocus (fixes #117) 2017-09-09 16:24:36 +02:00
Pierre Rudloff
f1d4d2f25c Capitalize locale names 2017-08-07 16:50:25 +02:00
Pierre Rudloff
4343edcdbb Merge branch 'master' into develop 2017-07-03 10:40:13 +02:00
Pierre Rudloff
dd00e9d279 Remove Google Cast support since the JS library does not seem to be maintained anymore and it frequently breaks 2017-07-03 10:19:50 +02:00
Pierre Rudloff
2e93ab867c Hide language switcher if only one locale is supported 2017-06-01 23:45:35 +02:00
Pierre Rudloff
be1163a408 Fix locale switcher position on mobile 2017-06-01 22:48:14 +02:00
Pierre Rudloff
4b174d297b Add title on share links 2017-06-01 11:43:07 +02:00
Pierre Rudloff
19bbe3f11c Lint CSS 2017-06-01 11:38:35 +02:00
Pierre Rudloff
bb0f3b9f7c Font size abstraction 2017-06-01 11:25:59 +02:00
Pierre Rudloff
c9c3988b91 Fix tests 2017-06-01 11:08:50 +02:00
Pierre Rudloff
f6a04458e7 Improve language switcher 2017-06-01 10:59:37 +02:00
Pierre Rudloff
bbee27caa9 Language switcher CSS 2017-06-01 01:04:39 +02:00
Pierre Rudloff
6905877e36 Use lang attributes in locale switcher 2017-05-31 16:35:37 +02:00
Pierre Rudloff
2add291023 Use emoji instead of SVG flags 2017-05-31 16:26:00 +02:00
Pierre Rudloff
a2dc71753e Rename Smarty variable to avoid confusion 2017-05-31 09:32:11 +02:00
Pierre Rudloff
419110f764 Fix FrontController tests 2017-05-31 00:07:34 +02:00
Pierre Rudloff
6087e90b67 Remove empty <ul> 2017-05-30 23:55:11 +02:00
Pierre Rudloff
90dc6f4478 Display each locale in its own language 2017-05-30 23:49:49 +02:00
Pierre Rudloff
0f80cbd333 Improve locale handling 2017-05-30 23:31:12 +02:00
Pierre Rudloff
b4dd0aeb29 Basic locale switcher 2017-05-30 22:21:27 +02:00
Pierre Rudloff
de8c4525d9 New fr_FR locale 2017-05-29 19:28:42 +02:00
Pierre Rudloff
ff247a5c08 Move gettext files outside of template directory 2017-05-29 19:02:48 +02:00
Pierre Rudloff
3fff849ea8 Merge branch 'master' of https://github.com/tony199555/alltube into feature/gettext
Conflicts:
	composer.json
	composer.lock
	templates/index.tpl
	templates/video.tpl
2017-05-29 19:01:20 +02:00
Unknown
1e1b97c648 Name Correction 2017-05-26 11:45:05 -07:00
Unknown
404935be05 Possible fix recommend by Rudloff 2017-05-26 11:38:34 -07:00
Unknown
bb6e2805f3 Setup accoring standard 2017-05-26 04:50:58 -07:00