Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

144 linhas
5.8 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml"><head>
  3. <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  5. <link rel="stylesheet" href="main.css" type="text/css" />
  6. <link rel="stylesheet" href="blog.css" type="text/css" />
  7. <link rel="alternate" type="application/rss+xml" title="Subscribe to this page..." href="feed.rss" />
  8. <title>Updates: Interface and accessibility - My fancy blog</title>
  9. </head><body>
  10. </div></div></div>
  11. <div id="template-wrapper"><div class="template-unit">
  12. <!-- entry begin -->
  13. <h3><a class="ablack" href="updates-interface-and-accessibility.html">
  14. Updates: Interface and accessibility
  15. </a></h3>
  16. <!-- bashblog_timestamp: #202109131730.12# -->
  17. <div class="subtitle">September 13, 2021 &mdash;
  18. John Smith
  19. </div>
  20. <!-- text begin -->
  21. <p>Hello everyone! Throughout the past year there has been a lot of work in creating a polished, modern looking UI.
  22. This update has been in the works for a long time&hellip; Many considerations had to be done, and given the current state of
  23. modern browsers (and their over-reliance in JS) many more surfaced, leading to further testing and fixes.</p>
  24. <p>We hope you like it!</p>
  25. <h3>The prime directive</h3>
  26. <blockquote><p>Modern looking, consistent and accessible UI across all browsers.
  27. Non-JS version as the primary focus, <strong>JS is optional</strong> and should be regarded as such.</p></blockquote>
  28. <p>The Web is 95% typography, the art and technique of arranging type to make text more readable and pleasing.
  29. To achieve this, a textual hierarchy is fundamental, text should present a clear, readable structure to the reader.
  30. In much of the same fashion, the way we perceive Web pages relies upon the same fundamentals. As such, by focusing on the
  31. markup, we hope to achieve an accessible, fast and polished structure by which any browser and screen reader relies upon.</p>
  32. <h3>Features</h3>
  33. <ul>
  34. <li>Accessible
  35. <ul>
  36. <li>Easy to use keyboard only navigation
  37. <ul>
  38. <li>Feedback on focused elements</li>
  39. <li>Keyboard shortcuts to access main regions</li>
  40. <li>Vi-like shortcuts</li>
  41. </ul>
  42. </li>
  43. <li>Screen reader tested
  44. <ul>
  45. <li>Notifies the user when focusing on key elements, such as the feed, notes and actions</li>
  46. <li>Brief description of navigation links</li>
  47. <li>Using semantic HTML whenever possible</li>
  48. </ul>
  49. </li>
  50. <li>Special care given for styling solutions that could break accessibility</li>
  51. <li>Colors and type sizes in accordance to W3C contrast guidelines
  52. <ul>
  53. <li>Chosen specifically blue-ish and grey-ish hues for faster page loading perception</li>
  54. </ul>
  55. </li>
  56. </ul>
  57. </li>
  58. <li>Fast, the content provided to the user really is just markup and some CSS rules
  59. <ul>
  60. <li>Optionally there will be some small use cases where JS makes sense (it&rsquo;s the only thing modern browsers understand e.e)
  61. <ul>
  62. <li>For example, cropping your avatar before uploading a new one.</li>
  63. <li>This is the only example until now.</li>
  64. </ul>
  65. </li>
  66. </ul>
  67. </li>
  68. <li>Dark and light default themes available (according to your system theme)</li>
  69. <li>Graceful degradation for unsupported HTML elements</li>
  70. <li>Achieving modern user interface patterns without JS</li>
  71. <li>Various layout engines tested and work as they should
  72. <ul>
  73. <li>Qt WebEngine (Qutebrowser, Falkon, Otter Browser, etc&hellip;)</li>
  74. <li>WebkitGTK (Epiphany, Midori, etc&hellip;)</li>
  75. <li>Gecko (Firefox and derivatives)</li>
  76. <li>Goanna (Palemoon, Basilisk, etc&hellip;)</li>
  77. <li>Internet Explorer</li>
  78. </ul>
  79. </li>
  80. </ul>
  81. <h3>Video</h3>
  82. <h4>Keyboard tests</h4>
  83. <iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" title="GNU social v3 Accessibility: Orca reading the Public feed" src="https://tube.tchncs.de/videos/embed/9a16e84c-4150-4849-ac63-019c9a3782d9" frameborder="0" allowfullscreen></iframe>
  84. <hr>
  85. <iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" title="GNU social v3 Accessibility: Login, Update nickname" src="https://tube.tchncs.de/videos/embed/8c86754a-8c71-4a28-8e47-8ef83a9b5b35" frameborder="0" allowfullscreen></iframe>
  86. <hr>
  87. <h3>Images</h3>
  88. <p><em>Default dark theme</em>
  89. <img src="https://agile.gnusocial.rocks/lib/exe/fetch.php?media=interface:timeline_dark.png" alt="" style="display: block; width: 600px; max-width: 100%;">
  90. <img src="https://agile.gnusocial.rocks/lib/exe/fetch.php?media=interface:settings_dark.png" alt="" style="display: block; width: 600px; max-width: 100%; margin-top: 1rem"></p>
  91. <blockquote><p>Settings are re-organized, allowing to focus into view each &ldquo;tab&rdquo; using the <em>details</em> HTML element.</p></blockquote>
  92. <p><em>Default light theme</em>
  93. <img src="https://agile.gnusocial.rocks/lib/exe/fetch.php?media=interface:timeline_light.png" alt="" style="display: block; width: 600px; max-width: 100%;">
  94. <img src="https://agile.gnusocial.rocks/lib/exe/fetch.php?media=interface:settings_light.png" alt="" style="display: block; width: 600px; max-width: 100%; margin-top: 1rem"></p>
  95. <h4>Bonus :&lsquo;)</h4>
  96. <iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" title="GNU social v3 Accessibility: Eliseu was recording a reply with orca, but I had non-tested changes" src="https://tube.tchncs.de/videos/embed/17a0c9c5-0f1c-4bae-a77d-08b4be67c986?start=54s" frameborder="0" allowfullscreen></iframe>
  97. <!-- text end -->
  98. <!-- entry end -->
  99. </div>
  100. <div id="footer">CC by-nc-nd <a href="http://twitter.com/example">John Smith</a> &mdash; <a href="mailto:john&#64;smith&#46;com">john&#64;smith&#46;com</a><br/>
  101. Generated with <a href="https://github.com/cfenollosa/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
  102. </div></div>
  103. </body></html>