html - Button with icon labelled with aria-label still an 'Empty Button' error -


a button aria-label:

<button type="button" class="btn btn-default dropdown-toggle"   aria-expanded="false"   aria-label="sort">   <i class="fa fa-arrows"></i> </button> 

is still identified accessibility error ('empty button') wave. ideas?

older screenreaders/browsers dont make use of aria. using visually-hidden text more robust method, in link cbroe left in comment above.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -