I wonder if when these are used on custom elements the accessibility state that exists for them ought to apply. E.g., https://w3c.github.io/html-aam/#att-readonly.
Related to whatwg/html#5016 (comment).
cc @tkent-google @domenic @johndai1984 @zcorpan @muan