PDA

View Full Version : Why are toobars/buttons user selectable (highlightable)?



BenSwayne
17 Apr 2012, 12:40 PM
I've noticed that for the most part the default styles provided with ExtJS pay attention to the many CSS variations of controlling a user's ability to select an element.


user-select:none;
-o-user-select:none;
-ms-user-select:none;
-moz-user-select:-moz-none;
-webkit-user-select:none;

However, buttons and toolbars remain selectable. Is there a reason they are intentionally left selectable? Is there some impact on accessibility compliance or useability? It is very easy to accidentally select the text in a button on a toolbar while using an ExtJS app. While not harmful, it is annoying and seems unnecessary assuming I haven't missed something obvious.

mitchellsimoens
18 Apr 2012, 6:47 AM
Probably not intentional