function kontrastFokus(link) { link . style . backgroundColor = link . style . backgroundColor == "yellow" ? "inherit" : "yellow"; }
Dieses Beispiel stammt aus dem Buch Barrierefreiheit verstehen und umsetzen.