Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. If you rely on assistive technologies (TTS, Braille display, enlarged fonts), what would be your preferred terminal output from a compiler or other CLI tool telling you where an error occurred

If you rely on assistive technologies (TTS, Braille display, enlarged fonts), what would be your preferred terminal output from a compiler or other CLI tool telling you where an error occurred

Scheduled Pinned Locked Moved Uncategorized
accessibilityprogramminga11yrustrustlang
5 Posts 3 Posters 8 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Esteban Küber :rust:E This user is from outside of this forum
    Esteban Küber :rust:E This user is from outside of this forum
    Esteban Küber :rust:
    wrote last edited by
    #1

    If you rely on assistive technologies (TTS, Braille display, enlarged fonts), what would be your preferred terminal output from a compiler or other CLI tool telling you where an error occurred?
    If you'd prefer a different option, please elaborate.
    #Accessibility #Programming #A11y #Rust #RustLang

    bondoloB 1 Reply Last reply
    1
    0
    • Esteban Küber :rust:E This user is from outside of this forum
      Esteban Küber :rust:E This user is from outside of this forum
      Esteban Küber :rust:
      wrote last edited by
      #2

      @TheQuinbox I think that proposed format would still work with the go-to file and line behavior of many terminals, so that would be an addition benefit. In context, without additional information, is that output clear enough for most people? How would it sound as proposed. And what about path/to/file.rs:10, col 29? Maybe the column isn't necessary in most cases...

      T 1 Reply Last reply
      0
      • Esteban Küber :rust:E Esteban Küber :rust:

        @TheQuinbox I think that proposed format would still work with the go-to file and line behavior of many terminals, so that would be an addition benefit. In context, without additional information, is that output clear enough for most people? How would it sound as proposed. And what about path/to/file.rs:10, col 29? Maybe the column isn't necessary in most cases...

        T This user is from outside of this forum
        T This user is from outside of this forum
        Quin
        wrote last edited by
        #3

        @ekuber Hmm, yeah, putting , col 29 is a good way to do it too. I like that a lot

        1 Reply Last reply
        0
        • Esteban Küber :rust:E Esteban Küber :rust:

          If you rely on assistive technologies (TTS, Braille display, enlarged fonts), what would be your preferred terminal output from a compiler or other CLI tool telling you where an error occurred?
          If you'd prefer a different option, please elaborate.
          #Accessibility #Programming #A11y #Rust #RustLang

          bondoloB This user is from outside of this forum
          bondoloB This user is from outside of this forum
          bondolo
          wrote last edited by
          #4

          @ekuber you could also use a unicode arrow instead of `->` but it is honestly the worst option. Consider using the `@` sign which has the convenience of search uniqueness. For line and column people will get used to whatever you do but it might be nice to tie the form to verbosity setting. also a different separator for path and line:column, again for quick `/:` search. A screen reader landing on colon would generally read both the line and column since the selection is in middle of a "word".

          Esteban Küber :rust:E 1 Reply Last reply
          0
          • bondoloB bondolo

            @ekuber you could also use a unicode arrow instead of `->` but it is honestly the worst option. Consider using the `@` sign which has the convenience of search uniqueness. For line and column people will get used to whatever you do but it might be nice to tie the form to verbosity setting. also a different separator for path and line:column, again for quick `/:` search. A screen reader landing on colon would generally read both the line and column since the selection is in middle of a "word".

            Esteban Küber :rust:E This user is from outside of this forum
            Esteban Küber :rust:E This user is from outside of this forum
            Esteban Küber :rust:
            wrote last edited by
            #5

            @bondolo I want to avoid Unicode symbols for this because they tend to be super verbose on TTS ("THIN RIGHT ARROW" would be terrible). The option of doing "path/to/file.rs:10, column 29" is appealing to me because that keeps both readable information *and* the terminal hyperlink behavior to open the file at the right line.

            1 Reply Last reply
            0
            • R ActivityRelay shared this topic
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups