Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Alfonso Siciliano
@alfonsosiciliano@mastodon.bsd.cafe  ·  activity timestamp 4 months ago

Weekend goal: a #Lua chunk (script) to help sighted users review #Braille. It's a great way to understand how visually impaired users interact with a computer using a screen reader and a Braille display. The script is simple and easy to configure. Currently, it offers a learning mode; in the future, a challenge mode will be added, along with a blog post explaining how to set it up.

Link: https://gitlab.com/-/snippets/4858299

On #FreeBSD it should be executable via flua:
% flua learnbraille.lua

after installing liblouis:
# pkg install liblouis

[edit] % /usr/libexec/flua learnbraille.lua

#UNIX #script #scripting #accessibility #inclusion

Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
  • Copy link
  • Flag this post
  • Block
Alfonso Siciliano
@alfonsosiciliano@mastodon.bsd.cafe replied  ·  activity timestamp 4 months ago

Letters and numbers in #Braille learned and memorized! Next task: punctuation marks 👨‍💻 📖 😅

#accessibility #coding #opensource #learning

A terminal window displays the final questions of a Braille learning quiz program. Each question shows a Braille pattern and asks the user to identify the corresponding character. For example, Question [54/62] shows a Braille cell and the correct answer "T". The user has answered all 62 questions correctly with a 100% success rate and 0 errors.
A terminal window displays the final questions of a Braille learning quiz program. Each question shows a Braille pattern and asks the user to identify the corresponding character. For example, Question [54/62] shows a Braille cell and the correct answer "T". The user has answered all 62 questions correctly with a 100% success rate and 0 errors.
A terminal window displays the final questions of a Braille learning quiz program. Each question shows a Braille pattern and asks the user to identify the corresponding character. For example, Question [54/62] shows a Braille cell and the correct answer "T". The user has answered all 62 questions correctly with a 100% success rate and 0 errors.
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login