mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-24 17:38:40 +08:00
f52fab39fc
* Use aria descriptions instead of labels for TextWithTooltip to prevent clobbering the reading of the content * Update snapshot * Fix snapshots * Iterate * Update snapshots * delint
32 lines
730 B
Plaintext
32 lines
730 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<ShareLatestLocation /> renders share buttons when there is a location 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
aria-describedby="mx_TooltipTarget_abdefghi"
|
|
tabindex="0"
|
|
>
|
|
<a
|
|
data-testid="open-location-in-osm"
|
|
href="https://www.openstreetmap.org/?mlat=51&mlon=42#map=16/51/42"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
<div
|
|
class="mx_ShareLatestLocation_icon"
|
|
/>
|
|
</a>
|
|
</div>
|
|
<div
|
|
class="mx_CopyableText mx_ShareLatestLocation_copy"
|
|
>
|
|
<div
|
|
aria-label="Copy"
|
|
class="mx_AccessibleButton mx_CopyableText_copyButton"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|