silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 94 forks source link

ACCESSIBILITY: readonly fields should be <input readonly > #14

Open tractorcow opened 7 years ago

tractorcow commented 7 years ago

At the moment we use <FormControl.Static /> in react which doesn't produce proper input tags. I suggest that we should probably stick with literal inputs for all input-type fields, and flag these with either disabled or readonly html properties.

This distinguishes readonly inputs from literals (provided by LiteralField).

dhensby commented 6 years ago

is this going to be actioned?

tractorcow commented 6 years ago

At some point yeah. When I get more time. :)