This would actually break BC...  I think it should be changed to be:
```php
$label = $element->getLabel();
if (!$label) {
    $label = $element->getOption('label') ?: $element->getAttribute('label');
}
```