We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 687aa1b commit 354be91Copy full SHA for 354be91
2 files changed
skills/a11y-debugging/SKILL.md
@@ -132,7 +132,8 @@ _Pass the element's `uid` to test the contrast against WCAG AA (4.5:1 for normal
132
Verify document-level accessibility settings often missed in component testing:
133
134
```javascript
135
-() => {
+(() => {
136
+ const f = () => {
137
return {
138
lang:
139
document.documentElement.lang ||
@@ -147,6 +148,11 @@ Verify document-level accessibility settings often missed in component testing:
147
148
: 'Disabled',
149
};
150
151
+ try {
152
+ console.log(f());
153
+ } catch (e) {} // Log for manual console usage
154
+ return f;
155
+})();
156
```
157
158
## Troubleshooting
tests/skills/a11y_debugging.test.ts
0 commit comments