Skip to content

feat: add accessibility consideration to autocomplete attribute page #39088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

CBID2
Copy link
Contributor

@CBID2 CBID2 commented Apr 12, 2025

Description

This PR adds information on how the autocomplete's off value influences a form's accessibility.

Motivation

This would help web developers understand the importance of not turning off autocomplete when creating forms in their website's HTML files.

Additional details

Related issues and pull requests

Closes #37170

@CBID2 CBID2 requested a review from a team as a code owner April 12, 2025 01:15
@CBID2 CBID2 requested review from estelle and removed request for a team April 12, 2025 01:15
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed labels Apr 12, 2025
Copy link
Contributor

github-actions bot commented Apr 12, 2025

Preview URLs

Flaws (16)

URL: /en-US/docs/Web/HTML/Reference/Attributes/autocomplete
Title: HTML attribute: autocomplete
Flaw count: 16

  • macros:
    • Macro produces link /en-US/docs/Web/HTML/Element/input which is a redirect
    • Macro produces link /en-US/docs/Web/HTML/Element/textarea which is a redirect
    • Macro produces link /en-US/docs/Web/HTML/Element/select which is a redirect
    • Macro produces link /en-US/docs/Web/HTML/Element/form which is a redirect
    • Macro produces link /en-US/docs/Web/HTML/Element/input which is a redirect
    • and 11 more flaws omitted

(comment last updated: 2025-04-22 04:05:30)

@estelle
Copy link
Member

estelle commented Apr 23, 2025

Closes #37170

The issue includes: "The accessibility consideration is missing from the page. "

In most MDN writing guidelines, templates this generally comes right before the Examples section. There isn't a template for attributes, but https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/placeholder is an example, and the template for HTML elements is listed at https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Page_structures/Page_types/HTML_element_page_template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add accessibility considerations to the HTML "autocomplete" attribute page
2 participants