diff options
| author | Viatrix | 2026-03-13 22:19:22 -0700 |
|---|---|---|
| committer | Viatrix | 2026-03-13 22:19:22 -0700 |
| commit | c03729d9bb9c0902b89a15643e67b620f7dd669b (patch) | |
| tree | 2e108dbfd49e8476dba06b167d7d88a5e4af5add /tests/data/svg | |
| parent | a6d891a0ddbcca22ee6aa946e90f7f8d42e1fec5 (diff) | |
Alt attribute now set correctly (+ test).
Diffstat (limited to 'tests/data/svg')
| -rw-r--r-- | tests/data/svg/alt.svg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/svg/alt.svg b/tests/data/svg/alt.svg new file mode 100644 index 0000000..93aff8d --- /dev/null +++ b/tests/data/svg/alt.svg @@ -0,0 +1,15 @@ +<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <a xlink:href="http://example.com/1"> + <title>A</title> + <rect x="25" y="20" width="50" height="10"/> + </a> + <a xlink:href="http://example.com/2" xlink:title="B"> + <title>A</title> + <rect x="25" y="45" width="20" height="10"/> + <rect x="55" y="45" width="20" height="10"/> + </a> + <a xlink:href="http://example.com/3" aria-label="C" xlink:title="B"> + <title>A</title> + <rect x="25" y="70" width="50" height="10"/> + </a> +</svg> |
