Link vs Button — same label
Both controls have the accessible name "Sign in". The expected disambiguation:
"Click the Sign in
link
" → navigates to
/link-clicked.html
"Click the Sign in
button
" / "Click Sign in" → stays on this page; sets result text
Sign in
Sign in