Skip to content

Commit bd1daa8

Browse files
committed
Set up accessible name demo on submit button
1 parent 627d8a0 commit bd1daa8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/button-submit.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const ButtonSubmit = ({buttonName, onClick}) => {
88
data-testid="btn-submit"
99
onClick={(event) => { onClick(event)}}
1010
>
11-
<span className="icon-lookingglass-white"></span>
11+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
12+
<path d="M15.707 13.293L13 10.586C13.63 9.536 14 8.311 14 7C14 3.14 10.859 0 7 0C3.141 0 0 3.14 0 7C0 10.86 3.141 14 7 14C8.312 14 9.536 13.631 10.586 13L13.293 15.707C13.488 15.902 13.744 16 14 16C14.256 16 14.512 15.902 14.707 15.707L15.707 14.707C16.098 14.316 16.098 13.684 15.707 13.293ZM7 12C4.239 12 2 9.761 2 7C2 4.239 4.239 2 7 2C9.761 2 12 4.239 12 7C12 9.761 9.761 12 7 12Z" fill="#ffffff"/>
13+
</svg>
1214
</button>
1315
)
1416
}

0 commit comments

Comments
 (0)