gitea/templates/user/settings
delvh e95b42e187
Improve accessibility when (re-)viewing files (#24817)
Visually, nothing should have changed.
Changes include
- Convert most `<a [no href]>` to `<button>` when (re-)viewing files:
- `<a [no href]>` are, by HTML definition, not a link and hence cannot
be focused
- `<a class="ui button">` can now be clicked (again?) using
<kbd>Enter</kbd>
- Previously, the installed keypress handler on `.ui.button` elements
disabled it for links somehow
- The `(un)escape file`, the `expand section` and the `expand/collapse
file` buttons can now be focused (and subsequently clicked using only
the keyboard)
- You can now press <kbd>Space</kbd> on a focused `View file` checkbox
to mark the file as viewed.
- previously, this was impossible as this checkbox listened on the wrong
event listener

The `add code comment` button has been left inaccessible for now as it
requires quite a bit of extra logic so that it is unhidden when it is
focused (you can otherwise focus it without seeing it as you are not
hovering on the corresponding line).

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-05-21 20:47:41 +00:00
..
security Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
account.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
actions.tmpl Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
appearance.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_edit_form.tmpl Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_list.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
applications_oauth2.tmpl Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
applications.tmpl Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
grants_oauth2.tmpl Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
hook_new.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys_gpg.tmpl Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
keys_principal.tmpl Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
keys_ssh.tmpl Change add_on in keys_ssh.tmpl (#24803) 2023-05-19 11:20:18 +02:00
keys.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
navbar.tmpl Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
organization.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages_cleanup_rules_preview.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
profile.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
repos.tmpl Fix layouts of admin table / adapt repo / email test (#24370) 2023-04-28 09:48:41 +08:00