I just wanted to respond to some negative posts on this platform concerning what...

@brian@leaseysocial.com

I just wanted to respond to some negative posts on this platform concerning what is known as vibe coding. In particular, I saw a blog post today which, among other things, was indicating that accessibility was not at the forefront of vibe coding and that generally speaking AI agents make a very poor job of accessibility implementation when creating applications.

I have done some vibe coding myself and I can assure people that this is most definitely not the case. Nothing could be further from the truth, provided you construct prompts carefully, stating your requirements.

As with any AI technology, it generally responds to the effort you put into it and the time you invest. Vibe coding acts in exactly the same way. The more you give it, the better the results will be.

For anyone who doesn't know, vibe coding put simply is a way in which an AI agent, as it is known, can create an application for you, based upon your design. It can do many other tasks as well but that is the essence of this discussion.

I would strongly recommend that you refer to the latest episode of the Vispero podcast, Vispero Connect, formerly FSCast. One of the developers, Mohammed Laachir, talks extensively about this topic and I would strongly encourage you to listen to what he has to say rather than consider any negative posts on the subject. Then make up your own mind.

What is becoming clear is that people are not only benefiting from creating these apps and distributing them but they are also enjoying the process of creation. Surely to goodness they would not be doing that if accessibility and usefulness were not part of the solution. They must be getting something from the process otherwise we would not be seeing all these apps springing into life.

Certainly on the Windows platform, applications can be made to work accessibly. You might consider submitting a prompt to your agent along these lines:

I want you to design and build Windows desktop apps with strong accessibility for my screen-reader from the beginning, not as an afterthought.

Requirements:

* Use a GUI toolkit that exposes standard native Windows controls well to screen readers.
* Avoid custom-drawn controls where possible. Use normal edit fields, buttons, radio buttons, check boxes, combo boxes, list boxes, and static text labels.
* Structure the interface so my screen-reader reads clean, concise control labels without unnecessary container verbosity.
* Every edit field, button, list, check box, radio button and combo box must have a clear accessible name.
* Do not rely on visual position, colour, icons, mouse hover text or images to convey important information.
* Keep keyboard access central:

* logical tab order
* reliable Alt-key shortcuts where appropriate
* Enter, Escape, Delete, and arrow-key behaviour should feel natural
* focus should move predictably and never jump unexpectedly
* every important feature must be usable without a mouse
* Make sure focus does not land on controls that cause my screen-reader to read large blocks of text unless that is explicitly desired.
* Prefer plain headings over verbose container labels if group boxes cause repeated speech.
* Make status messages short, useful and not repetitive.
* When a task completes, fails or needs attention, present that information in a way my screen-reader can discover reliably.
* Avoid constantly updating text on screen if it causes my screen-reader or Braille display to refresh unnecessarily.
* When using list views or tables, make sure column headings are meaningful and that row navigation is predictable.
* If the application contains a message composition area or large edit field, make sure cursor movement with the arrow keys and Control+arrow keys remains responsive.
* Do not trap the keyboard. I must always be able to tab away, press Escape where appropriate, or close the window with standard Windows commands.
* Use standard Windows dialogs where possible for opening files, saving files, choosing folders and confirming actions.
* Persist user data in a simple editable format such as JSON when that makes sense.
* Include error handling which gives the user understandable messages rather than technical tracebacks, unless I specifically ask for diagnostic information.
* Include a small Help or keyboard commands section within the app.
* When implementing shortcuts or accessibility behaviour, explain the reasoning briefly.
* After each major change, review the application from the point of view of a blind keyboard user and tell me what accessibility risks remain.
* Where possible, suggest a simple manual test plan I can use with my screen-reader and Braille display.

End of suggested prompt.

You may have other requirements particularly as the application evolves but that may give you a start. Low vision requirements may be important to you. For example, you may wish to specify good contrast, clear fonts, scalable text, avoidance of tiny buttons, and making sure that information is not conveyed by colour alone.

In summary, you are the conductor. The AI agent is the orchestra. The orchestra will generally play what the conductor instructs them to play.

So, does vibe coding replace human input?
Of course not. I'm not saying that at all. Not only do you need a human to orchestrate the process, but there are other requirements too.

1. I am noticing a great deal that many apps which are being coded in this way are causing the screen-reader to be exceptionally chatty.

In fact there is another app floating around at the moment where the output is exceptionally verbose, and I am not certain that is vibe coded.

But humans are required to test apps thoroughly in order that spoken output is condensed. It is not enough for the screen-reader merely to read something. The real question is whether it reads the right thing, at the right time, in a way which allows the user to work efficiently.

2. With many apps, special attention to Braille output is almost unheard of as far as I can see. Human intervention is required to pay special attention to what the screen-reader is doing in relation to Braille output. Making an application completely accessible does not mean that the Braille output is necessarily going to follow.

For example, a speech user may tolerate a short burst of extra information, but a Braille user may find that the display is constantly changing or filled with unhelpful text. That can make an otherwise usable application much more difficult to work with. Similarly, Braille-based messages need to be further condensed.

3. Documentation writing. Most of the apps being developed have little or no documentation and they leave the user to guess what is required, or present so many technical terms no-one is going to understand it. I know how difficult preparing documentation is. This week, I have written close to 600 printed pages, and it is hard work. But it has to be done if you want people to use the app.

Documentation does not have to be enormous in every case, but people do need to know what the app is for, how to start using it, what the main keyboard commands are, where data is stored, and what to do if something goes wrong.

4. Personally, I have thought it is better if you have a good grounding and understanding of what these tools are trying to do. I would not use these tools personally unless I had such an understanding. But, having said that, we are seeing apps coming through from people who do not, and I'm certainly not going to criticise them. I don't use those apps myself, but I am not going to pour scorn on something where the user is not a coder.

What I would say is that it helps enormously if you are prepared to test carefully, report problems clearly, and ask the AI agent to explain what it has done. You do not necessarily have to be a professional programmer to ask good questions, insist on good behaviour, and keep refining the result.

5. Security and privacy should not be forgotten either. If an app stores personal information, connects to an online service, or handles passwords, keys or tokens, the user should understand where that information is stored and how it is protected. This is another area where human judgement is still absolutely required.

6. We should also remember that accessibility is not a single switch which is either on or off. An app may be accessible in one area and poor in another. It may work well with speech but not Braille. It may work with one screen-reader but not another. It may be technically accessible but so verbose or awkward that no-one enjoys using it. That is why testing and refinement are so important.

Tools such as Open AI's Codex can even be used as an accessible desktop app within Windows. If I had the time, I would prepare even a short tutorial on the subject. But I do not have such time currently.

In summary, please do not be discouraged from creating apps. It is a wonderful thing to see, particularly as we are gaining more access to computing areas. Just perhaps bear in mind some of the recommendations above.