mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 00:21:30 +03: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
31 lines
730 B
Text
31 lines
730 B
Text
// 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>
|
|
`;
|