fix(react): address Doctor findings (#1143)

Accessibility/semantics pass aligned with React Doctor: role-based spans/divs become real buttons, role=status becomes <output>, modals use native <dialog>, author/peer flags render as <img>, and embed/challenge iframes are sandboxed. Includes review follow-ups: correct button chrome/centering/themed dialog colors and focus rings, the missing aria-label i18n keys (all languages), the Yandex image-search URL, clearer .bso setup steps, a keyboard-accessible image-search dropdown, and removal of the post-edit ('comment edited') display (mod edits unchanged).
This commit is contained in:
Tommaso Casaburi
2026-05-29 17:09:07 +07:00
committed by GitHub
parent ac95e58433
commit e082c7b428
132 changed files with 1753 additions and 1224 deletions
+9 -5
View File
@@ -144,10 +144,6 @@
"show_worksafe_boards_only": "Näytä vain työturvalliset hallit",
"show_all_content": "Näytä kaikki sisällöt",
"link_type": "Linkin tyyppi",
"comment_edited_at_timestamp": "Kommentti muokattu <1>{{timestamp}}</1>",
"reason_reason": "Syy: \"{{reason}}\".",
"click_here_to_show_original": "<1>Klikkaa tästä</1> näyttääksesi alkuperäisen.",
"click_here_to_hide_original": "<1>Klikkaa tästä</1> piilottaaksesi alkuperäisen.",
"loading": "Lataa",
"posted_by": "Lähettäjä",
"by": "kirjoittanut",
@@ -393,5 +389,13 @@
"go_to_settings_to_import_mod_account": "Siirry <1>asetuksiin</1> tuodaksesi moderaattoritilisi",
"post_form_rules_faq_prompt": "Lue <rules>Säännöt</rules> ja <faq>UKK</faq> ennen julkaisemista.",
"pending_mod_approval_reason": "Tekoälymoderointi lähetti tämän viestin moderointijonoon. Syy: \"{{reason}}\".",
"flag": "Lippu"
"flag": "Lippu",
"show_replies": "Näytä vastaukset",
"hide_replies": "piilota vastaukset",
"unhide": "paljasta",
"account_data": "tilin tiedot",
"ban_duration_days": "kiellon kesto päivissä",
"challenge_answer": "haasteen vastaus",
"ban": "kielto",
"timestamp": "aikaleimaustiedosto"
}