Closed (fixed)
Project:
Claro
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2019 at 14:30 UTC
Updated:
3 Oct 2019 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mlncn commentedWell here's a patch just in case. Maybe at one point the only class added was the 'visually-hidden' one so classes weren't necessary if 'before', but now 'form-item__description' is needed for styling, so the classes need to be added (and if it is set to invisible it isn't added anyway) so in short i think this patch is good and needed :-)
Note that setting form description placement ('before' instead of 'after') or to only for screen readers ('invisible') cannot be done through the user interface yet but is part of Core's API, #314385: Make position of #description configurable via the API.
Comment #3
huzooka@mlncn, nice catch!
No, it isn't intentional, and thanks for the patch!
I guess this is NR.
Comment #4
huzookaRTBC!
Comment #6
lauriiiNice catch indeed, thank you! Committed and pushed!