Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00
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 Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
ActionRunStatus.vue Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
ActivityHeatmap.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
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 Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
DiffFileList.vue Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
DiffFileTree.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
DiffFileTreeItem.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
PullRequestMergeForm.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
RepoActionView.test.js Add frontend test 2024-04-23 15:55:39 +02:00
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 Fix long branch name overflows (https://github.com/go-gitea/gitea/pull/30345) 2024-05-24 22:11:37 +05:00
RepoCodeFrequency.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
RepoContributors.vue Fix Activity Page Contributors dropdown (#31264) 2024-06-18 20:05:23 +02:00
RepoRecentCommits.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
ScopedAccessTokenSelector.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00