Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: fcbf0904c395a3bcfead4be65082ac3433ec7b0c https://github.com/xwiki/xwiki-platform/commit/fcbf0904c395a3bcfead4be65082a... Author: LucasC <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/css/users.css M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/drawer.vm M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/action-menus.less M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/drawer.less M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-profile/xwiki-platform-user-profile-ui/src/main/resources/XWiki/UserProfileUIX.xml M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/resources/ApplicationResources.properties Log Message: ----------- XWIKI-23710: The profile button name is being read twice by the narrators on Chrome and Edge (#6112) * Hide the avatar's native tooltip from assistive technologies to stop screen readers announcing the username twice * Factorize the profile avatar button and the Drawer's avatar link onto the existing #displayUser() macro * Add "avatarClass" and "displayName" options to #displayUser() * Move avatar sizing/shape styling out of drawer.less into new "large-avatars"/"circle-avatars" modifiers in users.less * Widen two LESS selectors to match #displayUser()'s markup * Add "small-avatar"/"medium-avatar"/"large-avatar" and "circle-avatar" classes to users.less, applied directly on the avatar image instead of on an ancestor container * Use "avatarClass" in the Drawer's avatar link and the profile avatar button instead of container classes * Replace drawer.less's ":first-child" selector with the actual ".user" class * Fix "circle-avatar" rendering as an ellipse for non-square avatar photos by forcing a fixed square box * Add a localized hint for icon-only avatar links generated by #displayUser() * Drop "object-fit: cover" from "circle-avatar" so a non-square photo is squished to fit the square box instead of cropped, keeping the pre-existing fitting behavior and minimizing the visual change - only the box's aspect ratio (now always square) changes, not how the photo is scaled into it * Drop the leftover ".user-avatar"/".group-avatar" margin-right on icon-only avatar links (no visible name to justify it), which was widening the link's box past the avatar image and throwing off anything centered on that box (e.g. the browser's native focus ring) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications