0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 13:59:03 +08:00
discourse/plugins/discourse-lazy-videos/config/locales
Kris 18f9bf787a
A11Y: add role to video thumbnail button (#35326)
We markup video thumbnail `div`s in posts with `tabindex="0"` which
makes them tabbable, but without a role it's unclear they're
interactive.

Since on click or keypress these play the video, it should have
`role="button"` as well as an an accessible label.

I also noticed that `onKeyPress` was added here but isn't wired up to
anything... so I've included that and also added the space key as a
trigger in addition to enter.
2025-10-14 11:51:51 -04:00
..
client.en.yml
server.ar.yml
server.be.yml
server.bg.yml
server.bs_BA.yml
server.ca.yml
server.cs.yml
server.da.yml
server.de.yml
server.el.yml
server.en.yml
server.en_GB.yml
server.es.yml
server.et.yml
server.fa_IR.yml
server.fi.yml
server.fr.yml
server.gl.yml
server.he.yml
server.hr.yml
server.hu.yml
server.hy.yml
server.id.yml
server.it.yml
server.ja.yml
server.ko.yml
server.lt.yml
server.lv.yml
server.nb_NO.yml
server.nl.yml
server.pl_PL.yml
server.pt.yml
server.pt_BR.yml
server.ro.yml
server.ru.yml
server.sk.yml
server.sl.yml
server.sq.yml
server.sr.yml
server.sv.yml
server.sw.yml
server.te.yml
server.th.yml
server.tr_TR.yml
server.ug.yml
server.uk.yml
server.ur.yml
server.vi.yml
server.zh_CN.yml
server.zh_TW.yml