chromium/content/test/data/accessibility/aria/aria-readonly.html

<!--
@WIN-ALLOW:haspopup*
@WIN-ALLOW:IA2_STATE_EDITABLE
@WIN-DENY:IA2_STATE_MULTI_LINE
@WIN-DENY:IA2_STATE_CHECKABLE
@WIN-DENY:checkable:true
@WIN-DENY:IA2_STATE_HORIZONTAL
@WIN-DENY:FOCUSABLE
@MAC-ALLOW:AXValue=*
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:restriction*
@BLINK-DENY:checkedState*
@BLINK-DENY:*ForRange*
@AURALINUX-ALLOW:editable
@AURALINUX-ALLOW:enabled
@AURALINUX-ALLOW:sensitive
@AURALINUX-ALLOW:checked
@AURALINUX-ALLOW:checkable:
@AURALINUX-DENY:checkable
-->
<html>
<body>
  <!-- Input -->
  <div><input aria-readonly="false" tabindex="0" value="Readonly-false input"></div>
  <div><input aria-readonly="true" tabindex="0" value="Readonly-true input"></div>

  <!-- Plain div -->
  <div aria-readonly="false" tabindex="0" aria-label="Readonly-false plain div"></div>
  <div aria-readonly="true" tabindex="0" aria-label="Readonly-true plain div"></div>

  <!-- Contenteditable div -->
  <div contenteditable aria-readonly="false" tabindex="0" aria-label="Readonly-false contenteditable div"></div>
  <div contenteditable aria-readonly="true" tabindex="0" aria-label="Readonly-true contenteditable div"></div>

  <!-- Textbox with no implementation for editing -->
  <div role="textbox" aria-readonly="false" tabindex="0" aria-label="Readonly-false role unimplemented textbox"></div>
  <div role="textbox" aria-readonly="true" tabindex="0" aria-label="Readonly-true role unimplemented textbox"></div>

  <!-- Textbox implemented with contenteditable -->
  <div role="textbox" aria-readonly="false" tabindex="0" aria-label="Readonly-false contenteditable textbox"></div>
  <div role="textbox" aria-readonly="true" tabindex="0" aria-label="Readonly-true contenteditable textbox"></div>

  <!-- Gridcell -->
  <table role="grid">
    <tr role="row">
      <td tabindex="0" role="gridcell" aria-readonly="false" aria-label="Readonly-false gridcell"></td>
      <td tabindex="0" role="gridcell" aria-readonly="true"  aria-label="Readonly-true gridcell"></td>
      <td tabindex="0" role="gridcell" aria-label="Readonly not specified gridcell"></td> <!-- Default should be false -->
    </tr>
  </table>

  <!-- Other roles -->
  <div role="checkbox" aria-readonly="true" aria-label="Readonly checkbox"></div>
  <input role="combobox" aria-readonly="true" aria-label="Readonly combobox">
  <div role="listbox" aria-readonly="true" aria-label="Readonly listbox"></div>
  <div role="radiogroup" aria-readonly="true" aria-label="Readonly radiogroup"></div>
  <div role="slider" aria-readonly="true" aria-label="Readonly slider"></div>
  <div role="spinbutton" aria-readonly="true" aria-label="Readonly spinbutton"></div>
  <div role="menuitemcheckbox" aria-readonly="true" aria-label="Readonly menuitemcheckbox"></div>
  <div role="menuitemradio" aria-readonly="true" aria-label="Readonly menuitemradio"></div>
  <div role="searchbox" aria-readonly="true" aria-label="Readonly searchbox"></div>
  <div role="switch" aria-readonly="true" aria-label="Readonly switch"></div>
</body>
</html>