accessibility - Getting DocBook alt. text to work with apache fop -


i'm in process of writing larger docbook document, , while looks decent enough, i've been asked improve accessibility of it. after reading documentation figured, "that looks simple enough, i'll add <alt> element in there , that'll fix everything!" ...needless wasn't case.

the way i've been including keys images 'till now;

<inlinemediaobject>     <imageobject>         <imagedata format="png" fileref="figs/key-down.png"/>     </imageobject>     <alt>down</alt> </inlinemediaobject> 

i opted graphic element on using <keycap> in case makes keys in document closer real thing. cover bases i'm testing following, didn't work either:

<keycap><alt>down</alt>&#x25bc;</keycap> 

the screen reading software still can't read alt-text.

do need other type of configuration work in screen reading software, aside running fop -a flag?

i agree making document accessible more adding alt text. however, it's start, answer question, think instead of need use textobject element, example:

<inlinemediaobject>     <imageobject>        <imagedata format="png" fileref="figs/key-down.png"/>     </imageobject>     <textobject>         <para>icon: key down</para>     </textobject> </inlinemediaobject> 

of course, 2 years later, maybe other viewers.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -