Community
Participate
Working Groups
ARIA attributes in html files should be highlighted the same way as html attributes. Not sure if it's relevant, but the following aria-* attributes end up half-highlighted (the aria- part is not highlighted but the characters after that are highlighted), which looks strange: aria-label, aria-hidden, aria-readonly, aria-checked, aria-controls, aria-disabled, aria-required, aria-selected. This is because these attributes coincide with the following html attribute names: label, hidden, readonly, checked, controls, disabled, required, selected.
Can you paste an example that includes the different highlightings?
Created attachment 261772 [details] aria-syntax-highlighting.PNG Here's a screen snap of: - div 1 -> normal html syntax highlighting (the word 'class' is lighter) - div 2 -> completely non-highlighted aria-labelledby - div 3 -> odd half-highlighted aria-hidden - div 4 -> odd half-highlighted aria-label In case it's useful, here's the markup: <!DOCTYPE html> <html> <body> <h1>Hello world</h1> <div class="testClass"></div> <div aria-labelledby="id"></div> <div aria-hidden="true"></div> <div aria-label="test"></div> </body> </html>
Fixed, commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=3129172cf24c23b012342a9407f1e4538923e9be .