Drop Fomantic tab, checkbox and form patches (#37377)

Clean up the fomantic helpers that nothing inside fomantic depends on.
Manually tested all functionality.

---------

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-04-24 16:02:37 +08:00
1 parent 0817a405af
commit 3816210c05
28 files changed
+135 -122

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ However, the templates still have the Fomantic-style HTML layout:
</div>
```
We call `initAriaCheckboxPatch` to link the `input` and `label` which makes clicking the
We call `initAriaLabels` to link the `input` and `label` which makes clicking the
label etc. work. There is still a problem: These checkboxes are not friendly to screen readers,
so we add IDs to all the Fomantic UI checkboxes automatically by JS. If the `label` part is empty,
then the checkbox needs to get the `aria-label` attribute manually.