I have a formatted note. Select a piece of text and change the highlight color in the Format menu. Note that I do not actually select the “highlight” entry from that menu!
Nevertheless, the piece of text gets highlighted in the selected color.
2nd issue: I select and highlight text in one color. Then, I select another highlight color and highlight another piece of text. Now selecting the first one again, it does not appear as “highlighted” in the “Format” menu, i.e. there’s no check mark behind the menu entry “Highlight”.
Apparently, DT includes the highlighted text in a span element with a style attribute setting the background color.(<span style="background-color...">). While that technically works, it is (I believe) semantically wrong. Instead, the mark element should be used for highlighting. This should also make it possible for DT to easily recognize highlighted text as such for all possible colors. And a screen reader could pick up on the mark, while it can’t on the span.
The initial behavior has been the case for quite some time. Selecting an item in Format > Highlight Color will apply the selected color. The Format > Highlight command allows you to quickly apply the active highlight colors to selected text.
I’m not seeing the second issue here. What OS are you running?
Thank you! Both the Highlight editing bar item and the Format > Highlight menu item only get checked if the text selection is completely highlighted with the selected highlight color (see Format > Highlight Color menu).