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

Improve label examples in Web/HTML/Global_attributes/enterkeyhint #36951

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 12 additions & 24 deletions files/en-us/web/html/global_attributes/enterkeyhint/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,49 +44,37 @@ The `enterkeyhint` attribute is an [enumerated](/en-US/docs/Glossary/Enumerated)
<tr>
<td><code>enterkeyhint="enter"</code></td>
<td>Typically inserting a new line.</td>
<td><kbd>↵</kbd></td>
<td><kbd>return</kbd>, <kbd>↵</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="done"</code></td>
<td>
Typically meaning there is nothing more to input and the input method
editor (IME) will be closed.
</td>
<td><kbd>Done</kbd></td>
<td>Typically meaning there is nothing more to input and the input method editor (IME) will be closed.</td>
<td><kbd>done</kbd>, <kbd>✅</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="go"</code></td>
<td>
Typically meaning to take the user to the target of the text they typed.
</td>
<td><kbd>Open</kbd></td>
<td>Typically meaning to take the user to the target of the text they typed.</td>
<td><kbd>go</kbd>, <kbd>🡢</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="next"</code></td>
<td>
Typically taking the user to the next field that will accept text.
</td>
<td><kbd>Next</kbd></td>
<td>Typically taking the user to the next field that will accept text.</td>
<td><kbd>next</kbd>, <kbd>⇥</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="previous"</code></td>
<td>
Typically taking the user to the previous field that will accept text.
</td>
<td><kbd>Previous</kbd></td>
<td>Typically taking the user to the previous field that will accept text.</td>
<td><kbd>return</kbd>, <kbd>⇤</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="search"</code></td>
<td>
Typically taking the user to the results of searching for the text they
have typed.
</td>
<td><kbd>Search</kbd></td>
<td>Typically taking the user to the results of searching for the text they have typed.</td>
<td><kbd>search</kbd>, <kbd>🔍</kbd></td>
</tr>
<tr>
<td><code>enterkeyhint="send"</code></td>
<td>Typically delivering the text to its target.</td>
<td><kbd>Send</kbd></td>
<td><kbd>send</kbd></td>
</tr>
</tbody>
</table>
Expand Down