Community
Participate
Working Groups
Orion build I20121219-2230 On the Edit page: https://orion.eclipse.org/edit/edit.html The Save button: <span tabindex="0" id="Save" class="commandButton">Save</span> needs to have role="button". Does it make any sense to use a <button> element for these? Then they would not need tabindex="0" or role="button" because they would get that for free. Would need to modify the css and js a bit to use <button>. Not sure if there are other advantages/disadvantages.
I thought we did this, I must have lost it in my refactoring. The spans were used to get background images/sprites.
Missed a "button" role in commands.js during dojo/dijit refacotring. Fixed in http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ebe9c8a4b250fd6b0a02efdc308e2e62156fd4f4 thanks for catching that, Carolyn.