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

textInput を実装 #61

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

textInput を実装 #61

wants to merge 2 commits into from

Conversation

soramea
Copy link
Contributor

@soramea soramea commented Dec 25, 2024

Button 要素ごと template で持ってくることを想定しています
入力欄とそのほかの区別がわかりづらいことがちょっと気になってるんですが、こういうもんなんでしょうか

close: #51

@soramea soramea self-assigned this Dec 25, 2024
Copy link
Contributor

@cp-20 cp-20 left a 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;
Copy link
Contributor

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;
Copy link
Contributor

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[imo] props.placeholder とかは placeholder ってした方が簡単に書けるかも

Copy link
Contributor

@cp-20 cp-20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細々としたところだけど、特にアクセシビリティ的なところは修正して欲しいです!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<TextInput>の実装
2 participants