discourse/config/locales
Osama Sayegh 496f910f03
DEV: Various A11Y improvements for the new user menu (#18288)
This commit includes various accessibility improvements for the new user menu:

* Add `title` attributes to the user menu tabs
* Properly label lists (by adding `aria-labelledby` to `<ul>` elements) for screen readers
* Change the user menu structure so that the tabs come before the content panel in the DOM, but use CSS to reverse them visually.
  Normally, changing the order of elements via CSS is bad for accessibility, but I believe this is one of the rare scenarios where it [makes sense](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items#use_cases_for_order). Prior to this change, if you want to reach the first notification item after you select a tab using the keyboard, you have to hit <kbd>ctrl</kbd>+<kbd>tab</kbd> because the notifications list is before the tabs list. However, with this change, <kbd>tab</kbd> will move you to the first item in the list after you select a tab using your keyboard.
* Aria-hide the unread notifications badge/count on the tabs because the `title` attribute on the tab indicates the unread count.
* Add some tests.
2022-09-20 19:31:56 +03:00
..
client.ar.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.be.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.bg.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.bs_BA.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ca.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.cs.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.da.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.de.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.el.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.en_GB.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
client.en.yml DEV: Various A11Y improvements for the new user menu (#18288) 2022-09-20 19:31:56 +03:00
client.es.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.et.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.fa_IR.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.fi.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.fr.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.gl.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.he.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.hr.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.hu.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.hy.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.id.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
client.it.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ja.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ko.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.lt.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.lv.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.nb_NO.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.nl.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.pl_PL.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.pt_BR.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.pt.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ro.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ru.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.sk.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.sl.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.sq.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.sr.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
client.sv.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.sw.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.te.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
client.th.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.tr_TR.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.uk.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.ur.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.vi.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.zh_CN.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
client.zh_TW.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
names.yml use more appropriate labels for chinese UI option 2021-07-27 22:47:59 +08:00
plurals.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
server.ar.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.be.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.bg.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.bs_BA.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.ca.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.cs.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.da.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.de.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.el.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.en_GB.yml Update translations (#17756) 2022-08-02 16:54:12 +02:00
server.en.yml FIX: Keep private theme key secret from user (#18106) 2022-09-01 13:15:23 +03:00
server.es.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.et.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.fa_IR.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.fi.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.fr.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.gl.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.he.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.hr.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.hu.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.hy.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.id.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.it.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.ja.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.ko.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.lt.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.lv.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.nb_NO.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.nl.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.pl_PL.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.pt_BR.yml Update translations (#18287) 2022-09-20 16:03:15 +02:00
server.pt.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.ro.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.ru.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.sk.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.sl.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.sq.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.sr.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.sv.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.sw.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.te.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.th.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.tr_TR.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.uk.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.ur.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.vi.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
server.zh_CN.yml Update translations (#18183) 2022-09-13 16:04:18 +02:00
server.zh_TW.yml Update translations (#18134) 2022-08-30 20:17:57 +02:00
transliterate.ar.yml Create transliterate.ar.yml (#6197) 2018-07-31 14:41:49 +10:00
transliterate.bg.yml
transliterate.de.yml
transliterate.el.yml UX: Add transliteration support for the Greek language 2019-04-25 22:49:21 +02:00
transliterate.en.yml
transliterate.ru.yml
transliterate.vi.yml