This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/web_src/js
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>
2023-01-25 17:52:10 +02:00
..
components Restore function to "Show more" buttons (#22399) 2023-01-13 13:50:32 +08:00
features Add ARIA support for Fomantic UI checkboxes (#22599) 2023-01-25 17:52:10 +02:00
markup Load asciicast css async (#22502) 2023-01-18 12:19:38 -06:00
modules
standalone
test
bootstrap.js
index.js
jquery.js
serviceworker.js
svg.js
svg.test.js
utils.js
utils.test.js