Changes between Initial Version and Version 5 of Ticket #35874


Ignore:
Timestamp:
May 31, 2026, 1:43:33 AM (10 days ago)
Author:
James Beard
Comment:

Will make some improvements. Brief game plan:

  1. make the tabs look much more tab like
  2. make the generated HTML more screen reader friendly
  3. change the hover cursor to provide some visual feedback that tabs are clickable
  4. leave tabs as form inputs to retain css only presentation of the active block
  5. tidy up the layout of the block to match plain python pre-formatted code (padding on all sides, etc)

R.e. item 4, am going to assume if moving to something more semantic like <button> for the tabs required Javascript (think it might) we'd prefer not to do that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35874

    • Property Type UncategorizedBug
    • Property Keywords accessibility added
    • Property Triage Stage UnreviewedAccepted
    • Property Owner set to James Beard
    • Property Status newassigned
  • Ticket #35874 – Description

    initial v5  
    1 `docs._ext.djangodocs.visit_console_html` generates the HTML for the console directive in docs and has buttons for Linux/MasOS and Windows
     1`docs._ext.djangodocs.visit_console_html` generates the HTML for the console directive in docs and has buttons for Linux/MacOS and Windows
    22
    33This is not very screen reader friendly.
Back to Top