-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: Stop using
<abbr />
HTML tag (#1149)
Some time ago, we started using the `<abbr>` tag for providing a way to see the full text of an acronym or abbreviation. However, at some point in the development of #1138, we realized that even though it is a native HTML tag, it might not be as accessible as we originally believed. In fact, the doubt arose when considering keyboard users: how can they ask the browser to show the title attribute? By default, they can't. Having a look to [tests recently made by Adrian Roselli](https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html), it can be seen that, among other issues, it's commonly problematic for keyboard and touch users. In Adrian's words: > Exposure continues to be inconsistent across browsers and assistive technologies. Some set of users will always miss some piece of information. In addition, such an element increases the risk of overusing it by encouraging us to over explain acronyms, as @dgdavid almost did with _Btrfs_, which he wanted to wrap into an `abbr` tag. As other examples, _XFS_ and _USB_ are acronyms but it isn't actually helpful for readers to being able to read _Extended File System_ and _Universal Serial Bus_ in the context in which they are used. Similar happens with _LVM_: if users do not know the technology it represents, reading _Logical Volume Manager_ hardly can help them. Thus, it's better to stop using `<abbr />` and evaluate each particular case when an acronym is added to the UI. If its long version could be helpful for users we should follow the Adrian recommendation: > Explain abbreviations, acronyms, initialisms, numeronyms, etc. on first use and then feel free to fall back to the shortened form. It could be the case of "Full Disk Encryption (FDE)".
- Loading branch information
Showing
8 changed files
with
35 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
------------------------------------------------------------------- | ||
Mon Apr 15 10:52:14 UTC 2024 - David Diaz <[email protected]> | ||
|
||
- Stop using `<abbr>` tag because "its exposure continues to be | ||
inconsistent across browsers and assistive technologies" | ||
(gh#openSUSE/agama#1149). | ||
|
||
------------------------------------------------------------------- | ||
Mon Apr 15 07:14:35 UTC 2024 - David Diaz <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters