Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f68c224
added the bcd for alpha & colorspace
dletorey Sep 9, 2025
e3c0b90
added alpha and colorspace to attributes and input pages
dletorey Sep 9, 2025
ba60de4
added see also links for input color
dletorey Sep 9, 2025
8667e9e
added alpha and colorspace to individual attributes of input page
dletorey Sep 9, 2025
837985c
created colorspace attribute page
dletorey Sep 9, 2025
81aacbc
updated the property urls
dletorey Sep 9, 2025
ee76aad
fixed the broken links for sRGB
dletorey Sep 9, 2025
0939474
added values to the example
dletorey Sep 9, 2025
b398afc
corrected the description
dletorey Sep 9, 2025
e95924d
added alpha attribute
dletorey Sep 9, 2025
efd2840
added links from properties to attributes
dletorey Sep 9, 2025
1a21ee6
Merge branch 'main' into 40778-color-input-value
dletorey Sep 10, 2025
989b9af
added example for alpha
dletorey Sep 10, 2025
4f9bb86
corrected the example name
dletorey Sep 10, 2025
524b7b6
fixed some grammar
dletorey Sep 10, 2025
4913493
Merge branch 'main' into 40778-color-input-value
dletorey Sep 10, 2025
992ac6b
Update files/en-us/web/html/reference/attributes/alpha/index.md
dletorey Sep 10, 2025
f8131c8
Update files/en-us/web/html/reference/attributes/colorspace/index.md
dletorey Sep 10, 2025
e4dfe88
Update files/en-us/web/html/reference/attributes/colorspace/index.md
dletorey Sep 10, 2025
80be13d
fixed linting for attribute table
dletorey Sep 10, 2025
72804bc
Merge branch 'main' into 40778-color-input-value
dletorey Sep 11, 2025
76f8cea
Update files/en-us/web/html/reference/attributes/alpha/index.md
dletorey Sep 11, 2025
2a2cba6
Merge branch 'main' into 40778-color-input-value
dletorey Sep 15, 2025
6d261b2
removed the alpha and colorspace attribute pages and links to them
dletorey Sep 15, 2025
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
Prev Previous commit
Next Next commit
added alpha and colorspace to attributes and input pages
  • Loading branch information
dletorey committed Sep 9, 2025
commit e3c0b90dddba106fca628f21f8df5d4b743067cd
14 changes: 14 additions & 0 deletions files/en-us/web/html/reference/attributes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ Elements in HTML have **attributes**; these are additional values that configure
<td>{{ HTMLElement("iframe") }}</td>
<td>Specifies a feature-policy for the iframe.</td>
</tr>
<tr>
<td>
<code><a href="/en-US/docs/Web/HTML/Reference/Elements/input/color#alpha">alpha</a></code>
</td>
<td>{{ HTMLElement("input") }}</td>
<td>Allow the user to select a color's opacity on a <code>type="color"</code> input.</td>
</tr>
<tr>
<td>
<code><a href="/en-US/docs/Web/HTML/Reference/Attributes/alt">alt</a></code>
Expand Down Expand Up @@ -257,6 +264,13 @@ Elements in HTML have **attributes**; these are additional values that configure
</div>
</td>
</tr>
<tr>
<td>
<code><a href="/en-US/docs/Web/HTML/Reference/Elements/input/color#colorspace">colorspace</a></code>
</td>
<td>{{ HTMLElement("input") }}</td>
<td>Defines the <a href="/en-US/docs/Glossary/Color_space">color space</a> that is used by a <code>type="color"</code> input.</td>
</tr>
<tr>
<td>
<code><a href="/en-US/docs/Web/HTML/Reference/Elements/textarea#cols">cols</a></code>
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/html/reference/elements/input/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,13 @@ Attributes for the `<input>` element include the [global HTML attributes](/en-US
| Attribute | Type(s) | Description |
| --------------------------------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [`accept`](#accept) | `file` | Hint for expected file type in file upload controls |
| [`alpha`](#alpha) | `color` | Opacity of the color |
| [`alt`](#alt) | `image` | alt attribute for the image type. Required for accessibility |
| [`autocapitalize`](#autocapitalize) | all except `url`, `email`, and `password` | Controls automatic capitalization in inputted text. |
| [`autocomplete`](#autocomplete) | all except `checkbox`, `radio`, and buttons | Hint for form autofill feature |
| [`capture`](#capture) | `file` | Media capture input method in file upload controls |
| [`checked`](#checked) | `checkbox`, `radio` | Whether the command or control is checked |
| [`colorspace`](#colorspace) | `color` | The [color space](/en-US/docs/Glossary/Color_space) that should be used for selecting the color value |
| [`dirname`](#dirname) | `hidden`, `text`, `search`, `url`, `tel`, `email` | Name of form field to use for sending the element's directionality in form submission |
| [`disabled`](#disabled) | all | Whether the form control is disabled |
| [`form`](#form) | all | Associates the control with a form element |
Expand Down