Skip to content

Conversation

@mpconley
Copy link
Contributor

Brief overview of PR changes/additions

This PR updates the accessibility alias script to disable the code editor's autocomplete feature when the user runs the "mudlet access on" command. This is achieved by setting setConfig("editorAutoComplete", false), which will be supported in an upcoming Mudlet release.

Motivation for adding to Mudlet

Disabling autocomplete in the code editor improves the experience for visually impaired users, as discussed in Mudlet issue #7782. This change makes it easier for screen reader users to work in the Mudlet editor without distraction from autocomplete popups.

Other info (issues closed, discussion etc)

  • Implements part of Mudlet issue #7782
  • Requires a corresponding Mudlet PR to support the editorAutoComplete config option.

@ZookaOnGit
Copy link

The actual .mpackage needs to be updated as well because these are now loaded instead of the .xml's.

vadi2 pushed a commit to Mudlet/Mudlet that referenced this pull request Jun 8, 2025
#### Brief overview of PR changes/additions

This PR coincides with an [update to the accessibility
script](Mudlet/enable-accessibility#3)
(`mudlet_accessibility_on.lua`) that automatically disables the
"Autocomplete Lua functions in code editor" setting by calling
`setConfig("editorAutoComplete", false)` when a user triggers the
`mudlet access on` command.

#### Motivation for adding to Mudlet

This change improves accessibility for visually impaired users by
simplifying the code editor experience when accessibility mode is
enabled, as discussed in [idea
#7782](#7782) and the Mudlet
accessibility channel.

#### Other info (issues closed, discussion etc)

- Closes #7782  
- Connected to Mudlet/enable-accessibility#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants