- From: Erik Dahlström <erik@xn--dahlstrm-t4a.net>
- Date: Wed, 04 Nov 2015 10:00:25 +0100
- To: www-svg <www-svg@w3.org>, "Amelia Bellamy-Royds" <amelia.bellamy.royds@gmail.com>
- Cc: "SVG-A11y TF" <public-svg-a11y@w3.org>, "Cameron McCormack" <cam@mcc.id.au>, "Fred Esch" <fesch@us.ibm.com>
On Thu, 29 Oct 2015 22:15:35 +0100, Amelia Bellamy-Royds
<amelia.bellamy.royds@gmail.com> wrote:
...
> I would, at the very least, want to re-instate viewTarget for semantic
> and
> accessibility purposes. I would also ask that we follow up on the matter
> of :target and viewTarget, which could have been a very useful added
> functionality if it had ever been clearly defined.
I don't think I have a full understanding of exactly how 'viewTarget' is
important for a11y. Could you elaborate?
One can add an 'id' on the <view> element with the same value as
'viewTarget', and reference that id. What does 'viewTarget' add besides
another way to do the same thing?
Example:
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<circle id="c" r="50"/>
<view id="center" viewBox="-50 -50 100 100"/>
</svg>
Now, we can reference that view like example.svg#center, and the UA will
use that view.
Cheers
/ed
Received on Wednesday, 4 November 2015 09:00:59 UTC