pub const CODE_READ_ONLY_PRESET: PolicyBundle;Expand description
The read-only preset for CodeEditor::read_only / PlainTextEditor::read_only
and for a streaming log view.
Navigation and copy only, Role::Document, no caret.
Document rather than Role::Code or Role::Log is a correctness
constraint, not taste: accesskit_consumer::Node::supports_text_ranges()
admits only text inputs plus Label | Document | Terminal. A viewer
reporting Code or Log would render its text to a screen reader once and
then never report the caret or selection moving through it — the reader
could not navigate what it had just announced. A log that wants its new
lines spoken pairs this with an explicit Live, which is an independent
property rather than something a role implies.