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

Spell check input fields #23395

Merged
merged 1 commit into from
Feb 4, 2023
Merged

Spell check input fields #23395

merged 1 commit into from
Feb 4, 2023

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Feb 4, 2023

By default, browsers does spell checking in <textarea> elements but not in <input> elements (AFAICT this very old overview is still true for Firefox and Chrome – Edge and Safari work like Chrome).

This PR enables spell checking for the CW and poll option fields by adding spellcheck="true".

In Firefox, the spell checker language is defined by the lang attribute (added in #23293 and #23240). Chrome, Safari and Edge ignore the lang attribute and use all installed dictionaries (marked as wontfix).

@Gargron Gargron merged commit 67744ee into mastodon:main Feb 4, 2023
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
@c960657 c960657 deleted the input-spellcheck branch March 30, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants