mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-07-22 17:18:33 +00:00
accessibility: anchor elements' missing href added (#4375)
Add an empty hash `href="#"` attribute to anchors that did not yet have any `href` attribute, as a quick work-around to make those elements possible to interact with via keyboard. See discussion on linked issue (https://codeberg.org/forgejo/forgejo/issues/4273) for more information on how the button-like elements like this could eventually be improved even more. Fixes https://codeberg.org/forgejo/forgejo/issues/4273. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4375 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: banaanihillo <banaanihillo@noreply.codeberg.org> Co-committed-by: banaanihillo <banaanihillo@noreply.codeberg.org>
This commit is contained in:
parent
dd39b6d1bc
commit
099682892b
5 changed files with 5 additions and 13 deletions
|
@ -1936,7 +1936,7 @@ pulls.close = Close pull request
|
|||
pulls.closed_at = `closed this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
|
||||
pulls.reopened_at = `reopened this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
|
||||
pulls.commit_ref_at = `referenced this pull request from a commit <a id="%[1]s" href="#%[1]s">%[2]s</a>`
|
||||
pulls.cmd_instruction_hint = `View <a class="show-instruction">command line instructions</a>.`
|
||||
pulls.cmd_instruction_hint = `View command line instructions.`
|
||||
pulls.cmd_instruction_checkout_title = Checkout
|
||||
pulls.cmd_instruction_checkout_desc = From your project repository, check out a new branch and test the changes.
|
||||
pulls.cmd_instruction_merge_title = Merge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue