Two cases:
[[File:example.svg|20px|1]]
[[File:example.svg|20px|0]]
The first has an alt value of '1' when rendered, the seconds a value of ''.
This is likely due to the use of php's empty() http://php.net/manual/en/function.empty.php which treats '0' as an empty value.
Our use of empty() is in includes/media/MediaTransformOutput.php: $alt = empty( $options['alt'] ) ? '' : $options['alt'];
Version: 1.20.x
Severity: minor