Open junjizhi opened 4 years ago
You can do
iex(2)> a = [placeholder: 'First name', "aria-label": "First Name"] [placeholder: 'First name', "aria-label": "First Name"]
For text_input in the view (*.slim files), you can do:
text_input
*.slim
= text_input @contact, :first_name, placeholder: 'First name', "aria-label": "First Name"
For accessibility, we need aria-label.
aria-label
You can do
For
text_input
in the view (*.slim
files), you can do:For accessibility, we need
aria-label
.