chore(a11y): enable jsx-a11y/prefer-tag-over-role as error (#42078)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-07-26 17:38:55 -07:00
committed by GitHub
co-authored by Claude Sonnet 5
parent 710037d3d2
commit e54eccd5fb
135 changed files with 1301 additions and 1155 deletions
@@ -98,16 +98,13 @@ export default memo(
key={item}
className={currentPage === item ? 'active' : undefined}
>
<a
href={`#page-${item}`}
role="button"
onClick={e => {
e.preventDefault();
onPageChange(item);
}}
<button
type="button"
aria-label={`${item + 1}`}
onClick={() => onPageChange(item)}
>
{item + 1}
</a>
</button>
</li>
) : (
<li key={item} className="dt-pagination-ellipsis">