You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to implement some first support to properly tag tikz pictures and have a few request to tikz/pgf here.
Predefine and reserve the keys alt and actualtext and artifact.
In various cases user will have to provide an alternative text or an actualtext for a picture or declare that the graphic is only decoration (and artifact):
I will provide the needed tagging code, but it would be nice if tikz would predefine the keys for this purpose so that users can add such texts even if tagging is not active (\includegraphics knows the alt keys already too and I will add actualtext).
It would be also nice, if tikz could process these keys earlier, so that one knows which tagging is needed before the figure is started.
Interface for tagging code around nodes.
I must be able to add tagging code around nodes. Currently I'm redefining for this two internal commands of pgf:
This looks more or less ok: as far as I could see the commands are only used for postscript + svg where tagging is not active. But dedicated commands at the same place would be better.
Getting the BBox
In some case I have to calculate the BBox, these are the absolute coordinates on the page of the bottom/left and top/right corners of the picture. I'm using remember picture and then the following code to calculate the coordinates. This works fine (I currently do not care about cases where parts of the picture are outside the bounding box), but here too it would be nice, if there were a public tikz command that one could use:
Brief outline of the proposed feature
I'm currently trying to implement some first support to properly tag tikz pictures and have a few request to tikz/pgf here.
Predefine and reserve the keys
alt
andactualtext
andartifact
.In various cases user will have to provide an alternative text or an actualtext for a picture or declare that the graphic is only decoration (and artifact):
I will provide the needed tagging code, but it would be nice if tikz would predefine the keys for this purpose so that users can add such texts even if tagging is not active (
\includegraphics
knows thealt
keys already too and I will addactualtext
).It would be also nice, if tikz could process these keys earlier, so that one knows which tagging is needed before the figure is started.
Interface for tagging code around nodes.
I must be able to add tagging code around nodes. Currently I'm redefining for this two internal commands of pgf:
This looks more or less ok: as far as I could see the commands are only used for postscript + svg where tagging is not active. But dedicated commands at the same place would be better.
Getting the BBox
In some case I have to calculate the BBox, these are the absolute coordinates on the page of the bottom/left and top/right corners of the picture. I'm using
remember picture
and then the following code to calculate the coordinates. This works fine (I currently do not care about cases where parts of the picture are outside the bounding box), but here too it would be nice, if there were a public tikz command that one could use:Usage example
No response
The text was updated successfully, but these errors were encountered: