Skip to content

Commit 0a3b97c

Browse files
Fixes reported accessibility issues around link description and <pre> focus state. (#284)
1 parent b79cf19 commit 0a3b97c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

site/src/blog/announcing-typechat-0-1-0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ You can [see specifics of this change on GitHub](https://github.com/microsoft/Ty
200200

201201
Other changes to be aware of are:
202202

203-
* `TypeChatJsonProgram` and related functions, such as `createModuleTextFromProgram`, `evaluateJsonProgram`, and `createProgramTranslator` all live in `typechat/ts` ([see PR](https://github.com/microsoft/TypeChat/pull/147)).
204-
* The `processRequests` function for creating a REPL-like prompt now lives in `typechat/interactive` ([see PR](https://github.com/microsoft/TypeChat/pull/221)).
203+
* `TypeChatJsonProgram` and related functions, such as `createModuleTextFromProgram`, `evaluateJsonProgram`, and `createProgramTranslator` all live in `typechat/ts` ([see the pull request for these `TypeChatJsonProgram` changes](https://github.com/microsoft/TypeChat/pull/147)).
204+
* The `processRequests` function for creating a REPL-like prompt now lives in `typechat/interactive` ([see the pull request for these `processRequests` changes](https://github.com/microsoft/TypeChat/pull/221)).
205205

206206
## What's Next?
207207

site/src/css/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
background-color: #f5f8fa;
8080
}
8181

82+
.typechat-prose-content pre:focus {
83+
outline: 3px solid #0078d4;
84+
outline-offset: 2px;
85+
}
86+
8287
.typechat-prose-content code {
8388
font-family: var(--typechat-monospace);
8489
color: var(--typechat-inline-code-color);

0 commit comments

Comments
 (0)