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

Revise <input> type descriptions #2247

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion features/button.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: <button>
description: The `<button>` element is an interactive element activated by a user gesture that performs an action such as submitting a form, or opening a dialog.
description: The `<button>` HTML element represents a pushbutton that triggers some action, such as submitting a form or opening a dialog, styled as a labeled rectangular box by default.
spec: https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-button.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="button">'
description: The `<input type="button">` HTML element represents a button with programmable behavior, and which is inert by default.
description: The `<input type="button">` HTML element represents a pushbutton that triggers some action, such as submitting a form or opening a dialog, styled as a labeled rectangular box by default. Not to be confused with the `<button>` elment, which contains HTML content.
spec: https://html.spec.whatwg.org/multipage/input.html#button-state-(type=button)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-checkbox.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="checkbox">'
description: The `<input type="checkbox">` HTML element represents a checkable box.
description: The `<input type="checkbox">` HTML element represents a tickable box with two states, checked and unchecked.
spec: https://html.spec.whatwg.org/multipage/input.html#checkbox-state-(type=checkbox)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-color.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="color">'
description: The `<input type="color">` HTML element displays a color picker, from which users can choose a color.
description: The `<input type="color">` HTML element shows a color picker from which users can choose a color value.
spec: https://html.spec.whatwg.org/multipage/input.html#color-state-(type=color)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-date-time.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Date and time <input> types
description: The `<input type="date">` and `<input type="time">` HTML elements represent date and time pickers in a form.
description: The `<input type="date">` and `<input type="time">` HTML elements show date and time pickers.
spec: https://html.spec.whatwg.org/multipage/input.html#date-state-(type=date)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-file.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="file">'
description: The `<input type="file">` HTML element represents a field used to upload a file.
description: The `<input type="file">` HTML element shows a file picker from which users can choose a file to upload with the form.
spec: https://html.spec.whatwg.org/multipage/input.html#file-upload-state-(type=file)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-hidden.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="hidden">'
description: The `<input type="hidden">` HTML element represents a form field that is not displayed visually on the page.
description: The `<input type="hidden">` HTML element represents a form field that is not shown visually but is still included in the form submission.
spec: https://html.spec.whatwg.org/multipage/input.html#hidden-state-(type=hidden)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="image">'
description: The `<input type="image">` HTML element represents an image which can be used to submit a form.
description: The `<input type="image">` HTML element is an image that can be used to submit a form, like the `<input type="submit">` element.
spec: https://html.spec.whatwg.org/multipage/input.html#image-button-state-(type=image)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-number.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="number">'
description: The `<input type="number">` HTML element restricts input in the field to numeric data.
description: The `<input type="number">` HTML element represents numeric input data.
spec: https://html.spec.whatwg.org/multipage/input.html#number-state-(type=number)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-password.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="password">'
description: The `<input type="password">` HTML element represents a field for users to enter passwords while ensuring the typed characters are hidden from view, typically replaced by asterisks.
description: The `<input type="password">` HTML element represents a field for users to enter a password. The password is hidden from view, typically replaced by dots or asterisks.
spec: https://html.spec.whatwg.org/multipage/input.html#password-state-(type=password)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-radio.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="radio">'
description: The `<input type="radio">` HTML element represents a button which can be selected to the exclusion of others, or as one of multiple selections in a group.
description: The `<input type="radio">` HTML element represents one button in a group such that only one can be chosen at a time.
spec: https://html.spec.whatwg.org/multipage/input.html#radio-button-state-(type=radio)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-range.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="range">'
description: The `<input type="range">` element allows the user to choose a value using a slider widget.
description: The `<input type="range">` element represents a slider for choosing an inexact value between a minimum and maximum value.
spec: https://html.spec.whatwg.org/multipage/input.html#range-state-(type=range)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-reset.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="reset">'
description: The `<input type="reset">` HTML element is rendered as a button, and resets all inputs in the form to their initial values.
description: The `<input type="reset">` HTML element represents a pushbutton that sets all form fields to their initial values.
spec: https://html.spec.whatwg.org/multipage/input.html#reset-button-state-(type=reset)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input-submit.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="submit">'
description: The `<input type="submit">` HTML element submits its associated `<form>`.
description: The `<input type="submit">` HTML element sends the data from its associated `<form>` to a server.
spec: https://html.spec.whatwg.org/multipage/input.html#submit-button-state-(type=submit)
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/input.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: <input>
description: The `<input type="text">` HTML element allows the user to input information into a form. By default, an `<input>` element is a text input.
description: The `<input type="text">` HTML element allows the user to enter information into a form. By default, an `<input>` element is a text input.
spec: https://html.spec.whatwg.org/multipage/input.html#the-input-element
group:
- forms
Expand Down
2 changes: 1 addition & 1 deletion features/search-input-type.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '<input type="search">'
description: The `<input>` HTML element with the `type="search"` attribute represents a text field for search queries, which might be styled differently by the browser.
description: The `<input type="search">` HTML element represents a text field for search queries.
spec: https://html.spec.whatwg.org/multipage/input.html#text-(type=text)-state-and-search-state-(type=search)
group: forms
caniuse: input-search
Expand Down