-
Notifications
You must be signed in to change notification settings - Fork 1
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
textInput を実装 #61
base: main
Are you sure you want to change the base?
textInput を実装 #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
細々としたところだけど、特にアクセシビリティ的なところは修正して欲しいです!
.text-input { | ||
height: 32px; | ||
border: none; | ||
outline: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[should] アクセシビリティの観点から outilne: 0
は外して欲しいです! (どこにフォーカスが当たっているのかを分かりやすくするため)
gap: 8px; | ||
height: 32px; | ||
align-items: center; | ||
padding: 8px 16px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[should] 外側の <div>
に padding 付けちゃうと周辺のエリアが <input>
じゃなくなっちゃうので、<input>
の方の padding で対応して欲しいです!
type="text" | ||
class="text-input" | ||
:size="props.size" | ||
:placeholder="props.placeholder" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[imo] props.placeholder
とかは placeholder
ってした方が簡単に書けるかも
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
細々としたところだけど、特にアクセシビリティ的なところは修正して欲しいです!
Button 要素ごと template で持ってくることを想定しています
入力欄とそのほかの区別がわかりづらいことがちょっと気になってるんですが、こういうもんなんでしょうか
close: #51