0001-a11y-add-title-attribute-to-asterisk-marking-require.patch
wcs/qommon/form.py | ||
---|---|---|
99 | 99 |
def render_title(self, title): |
100 | 100 |
if title: |
101 | 101 |
if self.required: |
102 |
title += htmltext('<span class="required">*</span>') |
|
102 |
title += htmltext('<span title="%s" class="required">*</span>') % _( |
|
103 |
'This field is required.') |
|
103 | 104 |
return htmltext('<div class="title"><label for="form_%s">%s</label></div>') % ( |
104 | 105 |
self.name, title) |
105 | 106 |
else: |
106 |
- |