0

I am trying to use aria-label attribute with a button. But whenever I am adding this attribute PhpStorm is reporting it as INVALID. But other aria attributes are already present with the same button and not being reported.

<button class="tablet-only" aria-label="Toggle primary menu" aria-controls="primary-menu" aria-expanded="false"><i class="fa fa-bars"></i></button>

Is this a PhpStorm related issue and I can ignore and continue?
Any suggestion would be helpful.

Screenshot

enter image description here

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Subrata Sarkar
  • 2,975
  • 6
  • 45
  • 85

0 Answers0