MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
This commit is contained in:
@@ -929,6 +929,7 @@ class flexible_table {
|
||||
$html = '<form action="'. $this->baseurl .'" method="post">';
|
||||
$html .= '<div class="mdl-align">';
|
||||
$html .= '<input type="submit" value="'.get_string('downloadas', 'table').'"/>';
|
||||
$html .= html_writer::label($this->defaultdownloadformat, 'menudownload', false, array('class' => 'accesshide'));
|
||||
$html .= html_writer::select($downloadoptions, 'download', $this->defaultdownloadformat, false);
|
||||
$html .= '</div></form>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user