forgejo/web_src/js/components
banaanihillo 522e652e8d [accessibility] Add keyboard support for test actions (#4490)
- Existing gear icon keyup handler fixed:
moved the handler onto its descendant button,
to prevent it from incorrectly firing on the check-box elements
- Check-box elements: keyup elements for space and enter added,
as well as tabindex elements to make them able to gain focus

<!--
Before submitting a PR, please read the contributing guidelines:
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/CONTRIBUTING.md
-->

To test the check boxes:
- Set up an action, and visit the action's job page
- Navigate onto the job container (via Tab et al.)
- Use the gear icon with Space or Enter
- Tick the check-box items with Space or Enter

To test the elements beside the chevron icons:
- Navigate onto the element via Tab et al.
- Open/close them via Space or Enter

I have not had a chance to test the latter fix (https://codeberg.org/forgejo/forgejo/issues/4476#issuecomment-2092312) myself yet; feel free to reject this one in case the latter fix does not work as it should, and I will break this up into two separate pull requests.

<!--start release-notes-assistant-->

## Draft release notes
<!--URL:https://codeberg.org/forgejo/forgejo-->
- User Interface bug fixes
  - [PR](https://codeberg.org/forgejo/forgejo/pulls/4490)</a>: <!--number 4490 --><!--line 0 --><!--description W2FjY2Vzc2liaWxpdHldIEFkZCBrZXlib2FyZCBzdXBwb3J0IGZvciB0ZXN0IGFjdGlvbnM=-->[accessibility] Add keyboard support for test actions<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4490
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: banaanihillo <banaanihillo@noreply.codeberg.org>
Co-committed-by: banaanihillo <banaanihillo@noreply.codeberg.org>
2024-07-23 15:37:19 +00:00
..
.eslintrc.yaml
ActionRunStatus.vue
ActivityHeatmap.vue
ContextPopup.test.js Revert "ui: update pull request icons (#4455)" (partial) 2024-07-17 16:56:25 +02:00
ContextPopup.vue ui: update pull request icons (#4455) 2024-07-16 14:38:46 +00:00
DashboardRepoList.vue Fixed link to commit status and tooltip on dashboard 2024-07-14 13:03:03 +02:00
DiffCommitSelector.vue
DiffFileList.vue
DiffFileTree.vue
DiffFileTreeItem.vue
PullRequestMergeForm.vue
RepoActionView.test.js
RepoActionView.vue [accessibility] Add keyboard support for test actions (#4490) 2024-07-23 15:37:19 +00:00
RepoActivityTopAuthors.vue [UI] Replace vue-bar-graph with chart.js 2024-07-19 21:07:18 +02:00
RepoBranchTagSelector.vue
RepoCodeFrequency.vue
RepoContributors.vue
RepoRecentCommits.vue
ScopedAccessTokenSelector.vue