diff options
author | sebastian-sauer <sauer.sebastian@gmail.com> | 2023-07-15 11:45:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-15 11:45:34 +0200 |
commit | d473de0c2d9226f59a1a4de92057f3fd5c7fe456 (patch) | |
tree | 3dc714750ee0debeb494cdd4dbfb875d95550e4c /options/locale/locale_en-US.ini | |
parent | 9672085d940830f2e2e6d6f71e0e9900db5284a4 (diff) | |
download | gitea-d473de0c2d9226f59a1a4de92057f3fd5c7fe456.tar.gz gitea-d473de0c2d9226f59a1a4de92057f3fd5c7fe456.zip |
Make `add line comment` buttons focusable (#25894)
Use a real button and add an aria-label.
Additionally, show the button whenever it is focused.
See https://codeberg.org/forgejo/forgejo/issues/998 for explanation.
Our handling of this button is now equal to that of GitHub.
Nothing has changed visually.
Diffstat (limited to 'options/locale/locale_en-US.ini')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 8c7990e0d4..77003351f5 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2375,6 +2375,7 @@ diff.show_more = Show More diff.load = Load Diff diff.generated = generated diff.vendored = vendored +diff.comment.add_line_comment = Add line comment diff.comment.placeholder = Leave a comment diff.comment.markdown_info = Styling with markdown is supported. diff.comment.add_single_comment = Add single comment |