基本構成
1行から伸び(MDN, n.d.-a)、空なら音声入力(Ruan et al., 2018)、Enterの扱い(MDN, n.d.-b; Apple, n.d.)。
キーボードに隠れない
キーボードに追従(Android Developers, n.d.)、セーフエリア、下書き保存(Reyal et al., 2015)、キーボード種類。
送信状態と配慮
送信中→済、失敗時は再送。アイコンに名前と状態通知(W3C, 2023)。
よくある質問
- Enterで送信?
- モバイルは改行が多い。
- 隠れたら?
- キーボード高さに追従。
出典確認日:2026-10-27
参考文献
- MDN Web Docs. (n.d.-a). <textarea>: The textarea element. 複数行入力要素です。
- MDN Web Docs. (n.d.-b). enterkeyhint. Enterキー表示の属性です。
- Android Developers. (n.d.). Control and animate the software keyboard. キーボード領域の扱いです。
- Apple. (n.d.). Virtual keyboards. Human Interface Guidelines. キーボード種類です。
- Reyal, S., Zhai, S., & Kristensson, P. O. (2015). Performance and user experience of touchscreen and gesture keyboards in a lab setting and in the wild. In Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems (pp. 679–688). ACM. 実環境のキーボード研究です。
- Ruan, S., Wobbrock, J. O., Liou, K., Ng, A., & Landay, J. A. (2018). Comparing speech and keyboard text entry for short messages in two languages on touchscreen phones. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 1(4), Article 159. 音声と入力速度です。
- World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 名前・役割と状態通知です。
