The workaround is to use the 'readonly' attribute instead, but the problem with that is it doesn't render with a grayed out background. After fiddling for a while I came up with the following script:
dojo.ready(function(){
dojo.query("[readonly]").forEach(function(node, index, arr){
dojo.attr(node.parentNode,"style", "background-color: #efefef !important");
});
});
Maybe someone else will find this useful.