Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ARIA support for Fomantic UI checkboxes (go-gitea#22599)
Replace go-gitea#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> (cherry picked from commit d4610480ee610ec7d63ae17440128f057bc0d531)
- Loading branch information