Hello,
On an image field with the alternative text required, as the field title is transformed into a placeholder, there is no red marker.
I saw in the code that "(Required)" is appended to the field description. I didn't see it on the page before seeing it in the code.
Quickly I see some solutions:
- Removing the special behavior for the alt text. But I don't think it will be pleasant to remove what has been done.
- Displaying the field title (with the red marker) + the placeholder
- Appending " (Required)" in the placeholder (and not in the field description?)
What is your opinion?
When an option will be chosen I will provide a patch for that.
Comment | File | Size | Author |
---|---|---|---|
#4 | bootstrap-alt_text_image-2779755-3-from_rc2.patch | 1.73 KB | Grimreaper |
#3 | bootstrap-alt_text_image-2779755-3.patch | 1.73 KB | Grimreaper |
image_alt_before.png | 27.69 KB | Grimreaper |
Comments
Comment #2
markhalliwellYes, let's go ahead and remove this special alt textfield behavior. It was added, by me, in the commit e460fb0.
I think I was attempting to simply make it "look good". At the time, I did not comprehend the ramifications of how necessary the "required" aspect would be. Especially now that this asterisk is being added via CSS/SVG.
Comment #3
GrimreaperThanks for the response.
Yes, it looks good. Unfortunately, I think the required indicator is not enough visible.
Here is a quick patch.
Thanks for the review.
Comment #4
GrimreaperUploading another patch to be able to apply it from 8.x-3.0-rc2 version.
Comment #6
markhalliwell