Skip to content

Commit

Permalink
Fix a typo, change placeholder into sample text
Browse files Browse the repository at this point in the history
Placeholders have poor accessibility, and in a tool like this it's nice to have some sample values to start with anyway.
  • Loading branch information
jkshapiro authored Apr 19, 2022
1 parent 222c071 commit 2d26571
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ <h1><a href="/"><img src="/logo.svg" width="27" height="27" alt=""> Build a Colo
<form class="color-input-form">
<label>
<div>X axis colors (required). Hex, RGB, HSL, HSLA are all supported</div>
<small>This can also have variable names (deliniated from the color with a colon (<code>:</code>).</small>
<textarea placeholder="hsl(202, 79%, 50%)&#10;#ff0033&#10;rebeccapurple" class="color-input-x" rows="5" required></textarea>
<small>This can also have variable names (delimited from the color with a colon (<code>:</code>).</small>
<textarea class="color-input-x" rows="5" required>
hsl(202, 79%, 50%)
#ff0033
rebeccapurple
</textarea>
</label>
<button class="button-reverse" type="button" aria-label="Reverse X and Y axis data">↑↓</button>
<label>
Expand Down

0 comments on commit 2d26571

Please sign in to comment.