Skip to content
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

Further fixes to autocapitalize content #30775

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

chrisdavidmills
Copy link
Contributor

Description

In #30734, we made some changes to the autocapitalize attribute content, as what was there seemed inaccurate and somewhat unhelpful.

Unfortunately, this was merged before I realised that autocapitalize is a true global attribute (as it is relevant to any element that has contenteditable set on it), and it is relevant to desktop browsers as well as mobile browsers (it just isn't relevant to text entry via physical keyboards; it IS relevant to alternative input mechanisms such as virtual keyboards and voice input).

Therefore, I am opening this PR to update the content again. I have added all the nice new content we wrote into the autocapitalize global attribute page, and removed it from the relevant form elements, linking to the global attribute page instead. This should be a lot easier to maintain in the future at least.

Apologies for the wasted time, @ryo-manba and @teoli2003.

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner December 4, 2023 14:21
@chrisdavidmills chrisdavidmills requested review from dipikabh and removed request for a team December 4, 2023 14:21
@github-actions github-actions bot added the Content:HTML Hypertext Markup Language docs label Dec 4, 2023
@chrisdavidmills chrisdavidmills requested review from teoli2003 and removed request for dipikabh December 4, 2023 14:22
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Some global attributes are listed in specific elements but some aren't. I don't think it is this PR that should uniformize this, so approving.

@teoli2003 teoli2003 merged commit 337fde0 into mdn:main Dec 4, 2023
@chrisdavidmills chrisdavidmills deleted the autocapitalize-further-fixes branch December 4, 2023 14:36
estelle pushed a commit to estelle/content that referenced this pull request Dec 5, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants