You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/web_src/js/features
wxiaoguang e8ac6a9aea
Add ARIA support for Fomantic UI checkboxes (#22599)
Replace #22593

This is a general approach to add ARIA support for all Fomantic UI
checkboxes (including radioboxes)

* Pros:
* General approach, it works for all Fomantic UI checkboxes / radioboxes
    * No need to write IDs manually everywhere
    * No need to tell new contributors to write IDs again and again

* Cons:
* Slightly affects performance, but it's really trivial, because there
was already a heavy `$('.ui.checkbox').checkbox()` for Fomantic UI
before. So everything is still fine.


Screenshot (from the repo setting page, which has various checkboxes):

<details>


![image](https://user-images.githubusercontent.com/2114189/214480937-3a54d36f-55c3-49de-9c45-c4bb21f1f4c6.png)

</details>
1 year ago
..
admin Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
comp JS refactors (#22227) 2 years ago
aria.js Add ARIA support for Fomantic UI checkboxes (#22599) 1 year ago
aria.md Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2 years ago
citation.js fix webpackChunkName for citation-js-csl (#21806) 2 years ago
clipboard.js JS refactors (#22227) 2 years ago
codeeditor.js Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) 2 years ago
colorpicker.js JS refactors (#22227) 2 years ago
common-global.js Add ARIA support for Fomantic UI checkboxes (#22599) 1 year ago
common-issue.js Add a checkbox to select all issues/PRs (#20177) 2 years ago
common-organization.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
contextpopup.js JS refactors (#22227) 2 years ago
copycontent.js JS refactors (#22227) 2 years ago
dropzone.js JS refactors (#22227) 2 years ago
emoji.js JS refactors (#22227) 2 years ago
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers (#20584) 2 years ago
file-fold.js JS refactors (#22227) 2 years ago
formatting.js JS refactors (#22227) 2 years ago
heatmap.js JS refactors (#22227) 2 years ago
imagediff.js JS refactors (#22227) 2 years ago
install.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
mcaptcha.js Add support mCaptcha as captcha provider (#20458) 2 years ago
notification.js Enable contenthash in filename for dynamic assets (#20813) 2 years ago
org-team.js Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
pull-view-file.js Replace unstyled meter with progress (#19968) 2 years ago
repo-branch.js Add apply-patch, basic revert and cherry-pick functionality (#17902) 2 years ago
repo-code.js Improvements for Content Copy (#21842) 2 years ago
repo-code.test.js Ignore line anchor links with leading zeroes (#21728) 2 years ago
repo-commit.js Improve commit status icons (#21124) 2 years ago
repo-common.js Rework repo buttons (#20602) 2 years ago
repo-diff-filetree.js JS refactors (#22227) 2 years ago
repo-diff.js Restore function to "Show more" buttons (#22399) 1 year ago
repo-editor.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-findfile.js JS refactors (#22227) 2 years ago
repo-findfile.test.js Remove vitest globals (#21505) 2 years ago
repo-graph.js JS refactors (#22227) 2 years ago
repo-home.js A minimal change to replace data calls with attr as per guidelines (#19900) 2 years ago
repo-issue-content.js Multiple improvements for comment edit diff (#21990) 2 years ago
repo-issue-pr-form.js JS refactors (#22227) 2 years ago
repo-issue.js JS refactors (#22227) 2 years ago
repo-legacy.js JS refactors (#22227) 2 years ago
repo-migrate.js Update JS dependencies (#21881) 2 years ago
repo-migration.js JS refactors (#22227) 2 years ago
repo-projects.js JS refactors (#22227) 2 years ago
repo-release.js JS refactors (#22227) 2 years ago
repo-settings.js Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2 years ago
repo-template.js Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
repo-unicode-escape.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
repo-wiki.js Enable spellcheck for EasyMDE, use contenteditable mode (#19776) 2 years ago
serviceworker.js JS refactors (#22227) 2 years ago
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
stopwatch.js Don't display stop watch top bar icon when disabled and hidden when click other place (#22374) 1 year ago
tablesort.js JS refactors (#22227) 2 years ago
tribute.js JS refactors (#22227) 2 years ago
user-auth-webauthn.js Prevent security failure due to bad APP_ID (#18678) 2 years ago
user-auth.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
user-settings.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago