Skip to content

Commit dd82883

Browse files
peterychangrysweet
andauthored
Allow Voice Access to find clickable cards (#5857)
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Fixes accessibility issue (34) ## Related issue number #5634 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed. Co-authored-by: Ryan Sweet <[email protected]>
1 parent 97dbc5c commit dd82883

File tree

1 file changed

+12
-1
lines changed
  • python/packages/autogen-core/docs/src/_static

1 file changed

+12
-1
lines changed

python/packages/autogen-core/docs/src/_static/custom.css

+12-1
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,23 @@ html[data-theme="light"] .bd-header {
123123

124124
/* Copy button */
125125
.bd-article .docutils .docutils .copybtn:focus-visible:after {
126-
/* border: 10px outset var(--pst-color-primary); */
127126
display: block;
128127
opacity: 1;
129128
visibility: visible;
130129
}
131130

131+
/* Allow voice access to find clickable cards */
132+
.sd-card a {
133+
position: absolute;
134+
top: 0;
135+
left: 0;
136+
right: 0;
137+
bottom: 0;
138+
z-index: 1;
139+
text-decoration: none;
140+
color: inherit;
141+
}
142+
132143
/* Long autodoc module names wrap on prev/next links */
133144
/* TODO: Should we extend this to the entire site? */
134145
.prev-next-title {

0 commit comments

Comments
 (0)