From 95ee2979c81da28eaa5883e8099a04897fbfb93d Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Fri, 3 May 2024 10:44:04 +0200 Subject: [PATCH] Tooltip: improve accessibility of the right panel (#12490) * Move to `AccessibleButton` * Update snapshots * Update playwright snapshots --- .../room-header-highlighted-linux.png | Bin 5648 -> 5784 bytes ...with-apps-button-not-highlighted-linux.png | Bin 6737 -> 6737 bytes .../views/right_panel/HeaderButton.tsx | 8 +++----- .../views/right_panel/RoomSummaryCard.tsx | 12 +++++------- .../LegacyRoomHeaderButtons-test.tsx.snap | 3 +++ 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/playwright/snapshots/room/room-header.spec.ts/room-header-highlighted-linux.png b/playwright/snapshots/room/room-header.spec.ts/room-header-highlighted-linux.png index 5fa24a887f88e4ec2f538da0bc6836a2e0086d95..c792c4bcf0884fb85d1fe4824d2b0d868c6b9ec0 100644 GIT binary patch literal 5784 zcmb7|bySqy^S~b(kw##Nr9>2@5m=C1DQT3H1_7mO332HXq*RoWMd@bg6xk)Dky^U@ zrAuOg@A|&~|IYdS^W1x$bMKwGb7tnweBSA5t5T3LlK}ug@l;Le835qj;O2^?#JKOg zN+}g?!1H>h3I)mrST_NH;n`CqMSZ`FomqeV=MEPn`+Hg(+vyzmT+!QE!QZo@`MGv$ z1!09XFY1`4e;3v4l*^7FzxrrT|MuAWVdPXZZeAQ+V4y&xjIdZAAz7-&^Dp_SWBZkssv$uIkV|ydO>tZ3L-b;|4XxC*25YDCwrn|8Fzch2*dF zX5OMACp{DM*r~=h(H*qW9X7#u5LU{1R^mo!Y2il;Z3+qbV-TiyN?gAk331|nIcf4I zWtr&`DcaG0>MtNi|7_P~&*LFp5GJ4ItoEH>vQ4Mfi7Gye(y}xYOcnbVNAgwc>64j7?zs>jkV<#jHR2qQ|<&xdCgJ;|_Z;wGx zYrCckVNua=uRRM8jWl7WN+fe^Y3|k*v-5?&JYdz0GFdqA79aOj^k8!QXKOXk!pJD9 zK9(`*)2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Gi9~8hj}jmg#nEh2rQx zyYnNdH2BJ1zP@}Nan2CT-@C<@h~%P~6Zk^9a2QmsfyB@Y$8U+B+6@ zupFv+icYR6CihS(GN|P4Y$4~&-`@0?+3#ZdFG^oL=juY&Bnb&=R-fdPE(v!+^d{K5 z^x@`e)5&`_+pm$0g}XLa^+13gzONfbP?e{u;A}Zm!}V_6%I|&x?Dxa%Npi&%Lq@&a zQ{(~m*M;w7G7V8{lbxW}79ajP&%IR~#?kW}H(Q!GU%obQ2%LEO!msH?pOhNaeyK2F zTk6%*fVe4Rb`z7^{tMG(n5`@_@h5p%xxF*=Ddw_qw#ovAVS4~(Hw@U_+l&1|pC)p-z6tkuH^y*b@y!lmNA59^IMRTG0Nbcq&B<^>u4RJI*SwvG) zQ_(iENX37Cat#CmcAqCkpblgLX%o6i96X|4F7-)@fs7_O}$0E?Q8Z5xy z?-iSaSNXMF9D@1kxJ%YIrRS-&Z41#$KH7WjR}6vIot!#~Xzp*)c!QFB{i3Sa8SR6G z1A*v7j!(z@j}k_a%ry8rs(b11y}O_;?q>_GtD?NL@_)L9OZWVzQ~3XL$hwFq=wSi_)VILG`Sd*(*xH(f_k@&#gF~5q zT&i?0R;KP$f@Tc`! z-0QBLPY_{4W+(R%Fb~@=B%hd_!Td)x>A_u-e+%QYmlKqqKjIEbPcK z_&=C+xidz_#B~2@w@DR_2BN*=0TR+BVp@I{=$(xwT!Nzfe^!q7`gxVBTk*lbYU#J&O)UW75XmBsQ+||sQmVAe3DrWA8cej{*2;( zKncCM$tWUP3${wmavhxHCP6Rh7-pq0Sil|U0Sf(B0wnOX=JLc+i-&WUd|;+l7q&J^ i#9ql2{iOdM({H~iR_gw96Z(t@pdj;Bx>C~g)BgdM?(!7? diff --git a/src/components/views/right_panel/HeaderButton.tsx b/src/components/views/right_panel/HeaderButton.tsx index 4fb8c1b513..bfe463c6bf 100644 --- a/src/components/views/right_panel/HeaderButton.tsx +++ b/src/components/views/right_panel/HeaderButton.tsx @@ -21,9 +21,7 @@ limitations under the License. import React, { ReactNode } from "react"; import classNames from "classnames"; -import AccessibleTooltipButton from "../elements/AccessibleTooltipButton"; -import { ButtonEvent } from "../elements/AccessibleButton"; -import { Alignment } from "../elements/Tooltip"; +import AccessibleButton, { ButtonEvent } from "../elements/AccessibleButton"; interface IProps { // Whether this button is highlighted @@ -52,11 +50,11 @@ export default class HeaderButton extends React.Component { }); return ( - diff --git a/src/components/views/right_panel/RoomSummaryCard.tsx b/src/components/views/right_panel/RoomSummaryCard.tsx index d288541f5c..13f77eff14 100644 --- a/src/components/views/right_panel/RoomSummaryCard.tsx +++ b/src/components/views/right_panel/RoomSummaryCard.tsx @@ -49,7 +49,6 @@ import WidgetUtils from "../../../utils/WidgetUtils"; import { IntegrationManagers } from "../../../integrations/IntegrationManagers"; import SettingsStore from "../../../settings/SettingsStore"; import WidgetAvatar from "../avatars/WidgetAvatar"; -import AccessibleTooltipButton from "../elements/AccessibleTooltipButton"; import WidgetStore, { IApp } from "../../../stores/WidgetStore"; import { E2EStatus } from "../../../utils/ShieldUtils"; import { RoomPermalinkCreator } from "../../../utils/permalinks/Permalinks"; @@ -184,18 +183,17 @@ const AppRow: React.FC = ({ app, room }) => { return (