Qiskit / qiskit_sphinx_theme

A Sphinx theme and documentation guidelines for Qiskit and Qiskit Ecosystem projects
https://qisk.it/docs-guide
Apache License 2.0
15 stars 29 forks source link

Improve accessibility of `qiskit-card` being clickable #432

Closed Eric-Arellano closed 1 year ago

Eric-Arellano commented 1 year ago

https://github.com/Qiskit/qiskit_sphinx_theme/pull/415 accidentally broke qiskit-card being clickable.

But the code wasn't accessible, to begin with. It's an antipattern to make a <div> clickable. Instead, we should use the semantic web with an <a> element.

Pytorch renders the same as before:

Screenshot 2023-06-29 at 2 38 53 PM