fix(a11y): nome acessivel dos botoes do notebook inclui o numero visivel (WCAG 2.5.3)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
14849a4a4d
commit
4db4b1f71c
1 file changed
+1
-1
@@ -293,7 +293,7 @@ export default function NotebookStory({
|
|||||||
<button
|
<button
|
||||||
key={project.id}
|
key={project.id}
|
||||||
type="button"
|
type="button"
|
||||||
aria-label={`Mostrar ${project.title}`}
|
aria-label={`Mostrar ${project.title}, ${String(index + 1).padStart(2, "0")}`}
|
||||||
aria-pressed={index === activeIndex}
|
aria-pressed={index === activeIndex}
|
||||||
onClick={() => handleSelectTab(index)}
|
onClick={() => handleSelectTab(index)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user