What I am experiencing is that if I use it like these:
\(\arialabel{blank}{x}\)
\(\sin(\arialabel{blank}{x})\)
then it works as expected. The speech is:
blank
sine left parenthesis blank right parenthesis
but if I use it like this:
\(\sin(\arialabel{blank}{\phantom{x}})\)
then I get
sine left parenthesis right parenthesis
It's like the \phantom is overruling \arialabel and forcing the speech to be empty there instead of using "blank". Even:
\(\sin(\arialabel{blank}{\phantom{x}x})\)
(with an additional x outside of the \phantom) makes:
sine left parenthesis right parenthesis
If it's not clear, the use case is to print things like:
sin( )
and have it be read in a way that makes it clear the reader is supposed to fill in the blank. Currently, we think \phantom is needed to do this well. Do you have any insight as to why \phantom{} is messing with \arialabel{}{}?