Skip to content

Commit 4411279

Browse files
committed
Link to relevant WCAG article
1 parent 0046f65 commit 4411279

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • blog/2025-03-31-a-more-accessible-captcha-widget

blog/2025-03-31-a-more-accessible-captcha-widget/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Removing barriers to accessing the web is a primary value of Friendly Captcha, s
1111

1212
![Screenshot of the Friendly Captcha accessibility checker](./a11y-checker.png)
1313

14-
I entered the URL of the Friendly Captcha demo. Sure enough, the report contained an issue: the `<iframe>` element that houses the Friendly Captcha widget was missing an accessible name. According to WCAG 2.0, all `<frame>` and `<iframe>` elements must have an accessible name, provided by the `title` attribute. The Friendly Captcha widget didn't have that attribute.
14+
I entered the URL of the Friendly Captcha demo. Sure enough, the report contained an issue: the `<iframe>` element that houses the Friendly Captcha widget was missing an accessible name. According to WCAG 2.0, [all `<frame>` and `<iframe>` elements must have an accessible name](https://www.w3.org/TR/WCAG20-TECHS/H64.html), provided by the `title` attribute. The Friendly Captcha widget didn't have that attribute.
1515

1616
[One pull request later](https://github.com/FriendlyCaptcha/friendly-captcha-sdk/pull/40), the Friendly Captcha widget had a (properly localized) `title` attribute with a descriptive name. After redeploying the demo, I checked it again using the accessibility checker.
1717

0 commit comments

Comments
 (0)