tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Thursday, 09-May-2019 17:20:20 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹

    The other day I was sharing some code in my blog (static site, generated with #pelican) and I realized the syntax highlighter was adding tons of bullshit HTML to the page. It was kind of breaking #HTML #semantics and that's unacceptable.

    I moved to a JS solution where the highlighting is done in client with #prism and only if the client has JS enabled. Without javascript code pieces are just <pre><code> pieces, just as they are suppossed to be.

    I'm happy.

    Take a look:
    https://ekaitz.elenq.tech

    In conversation Thursday, 09-May-2019 17:20:20 CEST from mastodon.social permalink
    • Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Thursday, 09-May-2019 17:23:02 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
      in reply to

      I'm trying to keep this as much accessible as I can.

      It's hard to take everything in consideration because I'm not specifically trained on web development or #web #accessibility, but some details are a big difference and there's no effort to implement them.

      If you always do your best, you'll live longer. LOL

      In conversation Thursday, 09-May-2019 17:23:02 CEST permalink
    • Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Thursday, 09-May-2019 17:23:40 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
      in reply to

      (maybe longer not, but harder)

      (or maybe people will appreciate your support)

      In conversation Thursday, 09-May-2019 17:23:40 CEST permalink
    • Reset Reboot ⏻ (resetreboot@todon.nl)'s status on Thursday, 09-May-2019 17:32:49 CEST Reset Reboot ⏻ Reset Reboot ⏻
      in reply to

      @ekaitz_zarraga First time I see JS making the web more accesible!

      In conversation Thursday, 09-May-2019 17:32:49 CEST permalink
      Ekaitz Zárraga 👹 repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.