summaryrefslogtreecommitdiffstats
path: root/web_src/less/_svg.less
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-01-25 23:52:10 +0800
committerGitHub <noreply@github.com>2023-01-25 17:52:10 +0200
commite8ac6a9aeacf0adf21982abc51baa8938e5dd6bb (patch)
treeb242af37f5f3ec5b73edcf011b254474ba13dce0 /web_src/less/_svg.less
parentc8139c0f642a308b544d2f17e7b728ee6762a0eb (diff)
downloadgitea-e8ac6a9aeacf0adf21982abc51baa8938e5dd6bb.tar.gz
gitea-e8ac6a9aeacf0adf21982abc51baa8938e5dd6bb.zip
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>
Diffstat (limited to 'web_src/less/_svg.less')
0 files changed, 0 insertions, 0 deletions