mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
include aria-label in top toolbar
qt doesn't seem to support it at the moment though https://anki.tenderapp.com/discussions/beta-testing/1130-latest-anki-beta-not-accessible-with-voiceover-on-mac-os
This commit is contained in:
parent
bfa8fe9022
commit
cfaedfef4a
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ class Toolbar:
|
|||
buf = ""
|
||||
for ln, name, title in links:
|
||||
buf += '''
|
||||
<a class=hitem title="%s" href=# onclick="pycmd('%s')">%s</a>''' % (
|
||||
title, ln, name)
|
||||
<a class=hitem aria-label="%s" title="%s" href=# onclick="pycmd('%s')">%s</a>''' % (
|
||||
name, title, ln, name)
|
||||
return buf
|
||||
|
||||
# Link handling
|
||||
|
|
Loading…
Reference in a new issue