Commit Graph

23 Commits

Author SHA1 Message Date
Pierre Rudloff d4c1357c32 Lint 2020-05-14 00:18:39 +02:00
Pierre Rudloff 850fc80622 Add support for variables in translation (#250) 2019-11-29 22:13:11 +01:00
Pierre Rudloff 5c480f4268 Remove social buttons 2019-11-28 00:08:18 +01:00
Pierre Rudloff a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01: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 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 f1d4d2f25c Capitalize locale names 2017-08-07 16:50:25 +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 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 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
Unknown e9351d09e0 Finish preparing pot file 2017-05-26 03:58:48 -07:00
Pierre Rudloff fc73459731 Use template includes 2016-08-01 01:01:10 +02:00