Unfortunately <abbr>
has accessibility problems.
In the other thread, I posted:
So even if we think it’s okay the info added via <abbr>
is hidden and inaccessible for mobile, most screen readers and Braille displays because it’s extra info that isn’t essential, the problem is that some screen readers will only read out the “hidden” info, and not the linked *
or /
.
For example, given something like this:
classmethod fromkeys(iterable, value=None, <abbr title="Parameters before the slash (/) are positional-only.">/</abbr>)
One screen reader will say:
classmethod, fromkeys, iterable, value equals none, slash
But another may say:
classmethod, fromkeys, iterable, value equals none, parameters before the slash, slash, are positional-only
And say it everywhere. Which is much worse than just hiding away some additional info.