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
delvh 91c8261e2c
Add tooltips for MD editor buttons and add `muted` class for buttons (#23896)
Followup of #23876 according to my unreleased review demanding tooltips.
Additionally
- add a `muted` equivalent for buttons
- convert `switch to legacy` to an actual button
- enroll `switch to legacy` in the builtin pseudo focus cycle
- remove spaces between the buttons

The effect of the `muted` class is what you would expect: The button
loses all of its normal styling, and is defined only by its content instead.
This will help reduce a11y infractions in the future, as that was one of
the major points why people didn't use `<button>` tags and decided on a
bad fix (i.e. through `<div>`s) instead.

## Appearance

![image](https://user-images.githubusercontent.com/51889757/229510842-337378e5-faa5-4886-a910-08614c0c233d.png)

---------

Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
css Add tooltips for MD editor buttons and add `muted` class for buttons (#23896) 1 year ago
fomantic Fix Fomantic UI's `touchstart` fastclick, always use `click` for click events (#23065) 1 year ago
js Use auto-updating, natively hoverable, localized time elements (#23988) 1 year ago
svg Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago