Tooltip: Remove extra data attribute (#12483)

* Update `@vector-im/compound-web`

* Update snapshots

* Update jest snapshotss

* Update snapshots
This commit is contained in:
Florian Duros 2024-05-06 10:54:40 +02:00 committed by GitHub
parent c121167087
commit f8e040a890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 22 additions and 143 deletions

View file

@ -6,7 +6,6 @@ exports[`LegacyRoomHeaderButtons-test.tsx should render 1`] = `
aria-current="false"
aria-label="Chat"
class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_timelineCardButton"
data-state="closed"
role="button"
tabindex="0"
/>
@ -14,7 +13,6 @@ exports[`LegacyRoomHeaderButtons-test.tsx should render 1`] = `
aria-current="false"
aria-label="Threads"
class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_threadsButton"
data-state="closed"
data-testid="threadsButton"
role="button"
tabindex="0"
@ -23,7 +21,6 @@ exports[`LegacyRoomHeaderButtons-test.tsx should render 1`] = `
aria-current="false"
aria-label="Room info"
class="mx_AccessibleButton mx_LegacyRoomHeader_button mx_RightPanel_roomSummaryButton"
data-state="closed"
role="button"
tabindex="0"
/>

View file

@ -16,7 +16,6 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
<button
aria-label="Search"
class="mx_RoomSummaryCard_searchBtn"
data-state="closed"
data-testid="summary-search"
>
<div
@ -27,7 +26,6 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
<div
aria-label="Close"
class="mx_AccessibleButton mx_BaseCard_close"
data-state="closed"
data-testid="base-card-close-button"
role="button"
tabindex="0"

View file

@ -5,7 +5,6 @@ exports[`<DeviceItem /> ambiguous display name 1`] = `
<div
aria-label="my display name (deviceId)"
class="mx_AccessibleButton mx_UserInfo_device mx_UserInfo_device_unverified"
data-state="closed"
role="button"
tabindex="0"
>
@ -29,7 +28,6 @@ exports[`<DeviceItem /> with display name 1`] = `
<div
aria-label="deviceName"
class="mx_AccessibleButton mx_UserInfo_device mx_UserInfo_device_unverified"
data-state="closed"
role="button"
tabindex="0"
>
@ -53,7 +51,6 @@ exports[`<DeviceItem /> without display name 1`] = `
<div
aria-label="deviceId"
class="mx_AccessibleButton mx_UserInfo_device mx_UserInfo_device_unverified"
data-state="closed"
role="button"
tabindex="0"
>
@ -83,7 +80,6 @@ exports[`<UserInfo /> with crypto enabled renders <BasicUserInfo /> 1`] = `
<div
aria-label="Close"
class="mx_AccessibleButton mx_BaseCard_close"
data-state="closed"
data-testid="base-card-close-button"
role="button"
tabindex="0"