The #description element for button and submit form elements is ignored by FormAPI. I think using #description for these elements would be handy for helping to explain to the user what the consequences of clicking on a particular button will be, but I suppose there may be good reasons for it being ignored as it is now. But if not, could we see support for this in D7's FormAPI, please?

Comments

sun’s picture

Category: feature » task
Issue tags: +Accessibility

Would also make sense to me, if #description (or #title ?) would end up as title="Click to ...".

However, I'm not sure whether browser are displaying the (otherwise universal/global) title attribute for form buttons.

Anything else, e.g., outputting a #description below the button or similar, is insane and won't fix for me.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Though, OTOH, #attributes][title should already allow to set a title attribute, the regular way. Won't fix?

sun’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Accessibility

Automatically closed -- issue fixed for 2 weeks with no activity.