Skip to content

Commit 2476236

Browse files
committed
fix(pagination): remove implicit role button
1 parent c6b3cde commit 2476236

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/kit-headless/src/components/pagination/pagination.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export const Pagination = component$<PaginationProps>((props) => {
3636
<nav aria-label="pagination" data-testid="pagination" class={_class}>
3737
{isPrevButtonVisible() && (
3838
<button
39-
type="button"
4039
aria-label={'prevAriaLabel'}
4140
disabled={disabled}
4241
onClick$={() => {
@@ -59,7 +58,6 @@ export const Pagination = component$<PaginationProps>((props) => {
5958
) : (
6059
<button
6160
class={[selectedPage === item ? selectedClass : defaultClass]}
62-
type="button"
6361
aria-label={`Page ${item} of ${totalPages}`}
6462
aria-current={selectedPage === item}
6563
disabled={true}
@@ -77,7 +75,6 @@ export const Pagination = component$<PaginationProps>((props) => {
7775
{/* Next Button */}
7876
{isNextButtonVisible() && (
7977
<button
80-
type="button"
8178
aria-label={'nextAriaLabel'}
8279
disabled={disabled}
8380
onClick$={() => {

0 commit comments

Comments
 (0)