-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add twitter
for <input>
's type
and global inputmode
attributes?
#4589
Comments
If we do this, I'd prefer a more generic name such as " |
Yeah, I'm not proposing using the exact same name here, just the functionality. |
Just an idea, but what about abstracting this into something like a |
@keithamus do various platform APIs support that kind of setup? I was assuming they do not, given the dedicated |
Yeah I imagine they don't, I'm mostly concerned that adding another input type which is just text with a different keyboard confuses the issue more. Even if browsers hooked off of fixed strings of |
I see, I don't think we should support this for |
For inputmode we chose the intersection between what is supported on popular mobile platforms (Android and iOS). It is not possible to set a "twitter" keyboard on Android. There is a "short-text" type and I think we should try to understand how that behaves whether it provides the same functionality as the "twitter" keyboard on iOS. |
WhatsApp, Youtube, Slack and many more would benefit from some punctuation characters being directly accessible for formatting / markup:
Note, this is not enough for markdown, wiki, HTML, BBCode etc. LWL |
I like the idea proposed in #4589 (comment) Even if the UA doesn't support a VK layout with all the symbols requested, this can be used as a hint to select from the various available layouts. Regarding the value of this new attribute, since it would be used as a hint, the positional order of each character could correspond to the priority of each character, so the |
I’d suggest |
iOS's keyboard has a keyboard type
twitter
which means text with easy access to@
and#
.Nowadays
@
and#
are pretty much the de-facto way to mention people and add tag, so authors may want to be able to make use of this keyboard type. It would probably be good to provide this functionality to the web platform.The text was updated successfully, but these errors were encountered: