Repository navigation
Replies: 2 comments 12 replies
|
I do not have the full history, but it is my understanding that the underline button is intentionally not surfaced because underlined text carries with it a risk of being confused with a hyperlink. This is especially important for low-vision or color-blind users, for whom usually colored hyperlinks may not be sufficiently differentiated from underlined text. Having the shortcut available, but the button not surfaced, seems like an acceptable balance to me. |
|
Coming here from a WordPress.org forum question. https://wordpress.org/support/topic/why-is-there-no-option-to-underline-links-in-the-block-editor/ Is this still relevant? How strong is the accessibility argument here? What if the underline button were in the block tool drop down and on not in the toolbar itself (next to Bold and Italics)? If it's a definite "no" I think we could close this given #47484 was closed as well |



Uh oh!
There was an error while loading. Please reload this page.
I noticed that of all the format types in the core, only the underline is not showing up in the toolbar or dropdown.
Below are the results of the survey:
Ctrl + B)Shift + Alt + X)Ctrl + I)[[)Shift + Alt + D)Looking at this table alone, it seems odd that only the underline doesn't have a button, but this feature is not a deprecated "Underline" element, but simply wraps in a
spantag with an underline style.#13117 is the PR with an additional underline shortcut by
Cmd + U.I also consulted the relevant issue, and it is my understanding that the underline style does not explicitly provide a button because it could be confused with the inline style.
Personally, I sometimes want to give an underline that is not a link, but is there any possibility of a button being added in the future?
All reactions