A plugin produces some code that comes up with an accessibility situation on Axe DevTools – ‘Parts ought to solely use allowed ARIA attributes’.
This potential situation wants your assessment…
aria-label attribute shouldn’t be properly supported on a a with no legitimate position attribute.
Factor supply:
<a aria-label="Monday" class="fc-col-header-cell-cushion ">Mon</a>
The code in full:
<th position="columnheader" class="fc-col-header-cell fc-day fc-day-wed">
<div class="fc-scrollgrid-sync-inner">
<a aria-label="Wednesday" class="fc-col-header-cell-cushion ">Wed</a>
</div>
</th>
So I might add a task to the a aspect, in that case which one can be applicable (one other columnheader?) Or ought to the columnheader position be ideally faraway from the th and added to the a?