diff --git a/.changeset/underline_links_setting_no_longer_affects_the_entire_app.md b/.changeset/underline_links_setting_no_longer_affects_the_entire_app.md new file mode 100644 index 00000000..e56d3fc5 --- /dev/null +++ b/.changeset/underline_links_setting_no_longer_affects_the_entire_app.md @@ -0,0 +1,7 @@ +--- +default: patch +--- + +# "Underline Links" setting no longer affects the entire app + +The "Underline Links" accessibility setting was incorrectly applying link underlines globally, including to buttons in the Lobby and Message Search in spaces. It is now scoped to only the areas where it's relevant, which is chat messages, user bios, and room descriptions. The setting description in Appearance has been updated to reflect this. diff --git a/src/app/components/room-topic-viewer/RoomTopicViewer.tsx b/src/app/components/room-topic-viewer/RoomTopicViewer.tsx index 87fc74f4..8838cea2 100644 --- a/src/app/components/room-topic-viewer/RoomTopicViewer.tsx +++ b/src/app/components/room-topic-viewer/RoomTopicViewer.tsx @@ -29,7 +29,7 @@ export const RoomTopicViewer = as< - + {scaleSystemEmoji(topic)} diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index c41e2081..09e2ab97 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -180,6 +180,7 @@ function UserExtendedSection({ {bioContent && ( } /> diff --git a/src/index.css b/src/index.css index f2f2547b..453dc7f0 100755 --- a/src/index.css +++ b/src/index.css @@ -177,7 +177,9 @@ pre { /* Accessibility Overrides :D */ -.force-underline-links a { +.force-underline-links [data-message-id] a:not([data-mention-id]), +.force-underline-links [data-profile-bio] a, +.force-underline-links [data-room-topic] a { text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 2px;