522e652e8d
- 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> |
||
---|---|---|
.. | ||
components | ||
features | ||
markup | ||
modules | ||
render | ||
standalone | ||
utils | ||
vendor | ||
webcomponents | ||
bootstrap.js | ||
bootstrap.test.js | ||
htmx.js | ||
index.js | ||
jquery.js | ||
svg.js | ||
svg.test.js | ||
utils.js | ||
utils.test.js | ||
vitest.setup.js |