VBAndCs / sVB-Small-Visual-Basic

Small Visual Basic (sVB) is an educational programming language, created by Eng. Mohammad Hamdy as an evolved version of Microsoft Small Basic (SB). It is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows OS.
Other
222 stars 16 forks source link

Plea for screen readers accessibility improvement #51

Closed JanuszChmiel closed 6 months ago

JanuszChmiel commented 6 months ago

Dear elite developers, When I have tried your IDE and your programming language, I have started to be very very happy. Why? Because I could have so positive feelings, that even though I do not see at all, I have finally The chance to create modern .exe apps based on Net Framework with no need to use Visual Studio. Yours language is so effective and simple at The same time. It produces fully accessible user interface when .exe app is being executed.

I have The following big plea to you. How complex would be for you to redesign Ther user interface of Small visual basic IDE, so screen reader users could choose The GUI elements from The list? When creating form. So in The Form TAB. And if some item would be chosen by using keyboard, user could also choose by using context menu event such as button click. I Am afraid, that I can not simply create 4 or 5 buttons without IDE and simply compile new form which would be created by this manual way. And what would happen, if user would not use The mouse to define new GUI element position and if visually impaired user would create several GUI elements without using Mouse to position every item correctly? COuld it cause some Net framework run-time exception or error?

Next big accessibility issue is The code editor editable field. But in This case. I Am very tolerant human beeing. And I could simply write The corresponding code by using AN UTF8 compatible text editor such as standard Notepad from Microsoft. But forms must be very probably auto generated by using Ide to prevent chaos and errors. Big problem is The error message when using F5 key to compile The code. Some read only editable field could contain such error message with The corresponding line number.

I have tested your language by using samples, which you have provided and I really think, that it is robust, reliable and stable solution.

You are elite programmers and I think, that Small visual Basic has really a open future. Thank you very very much for your comment or for your help or advice. With The deepest possible appreciation and with The kindness regards. Janusz Chmiel

VBAndCs commented 6 months ago

Ho @Janusz:

Thanks for your feedback and your kind words.

I am developing sVB alone, building on Microsoft Small Basic, which had no accessibility options.

The problem is that I am doing everything alone, like fixing bugs, adding new features and writing a book series to introduce sVB to kids and beginners. Unfortunately, I have no experience with the accessibility area, but this is an open source project, and I welcome any contribution in this.

That being said, there is a solution to the form design issue: You can totally design the form with code, although some features will not be possible like using gradient colors. Only solid colors can be used in code for simplicity.

To add controls on the form by code, just use Me.AddLabel, Me.AddButton, Me.AddTextBox methods. There are similar methods for the rest of the 12 controls shown in the toolbox.

Each of this method returns the key of the added control, so you can use it as the control object to access its properties, methods and events. There are samples on all these methods in thee sVB reference books, and in the "Show Buttons" and "Random Buttons 3" sample applications.

I will try to find why the text readers can't read the errors list, and I hope it can be easy to fix this issue. But thee designer will need much work as I imagine.

Thanks you.


From: Janusz Chmiel @.> Sent: Wednesday, January 17, 2024 5:28 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Plea for screen readers accessibility improvement (Issue #51)

Dear elite developers, When I have tried your IDE and your programming language, I have started to be very very happy. Why? Because I could have so positive feelings, that even though I do not see at all, I have finally The chance to create modern .exe apps based on Net Framework with no need to use Visual Studio. Yours language is so effective and simple at The same time. It produces fully accessible user interface when .exe app is being executed.

I have The following big plea to you. How complex would be for you to redesign Ther user interface of Small visual basic IDE, so screen reader users could choose The GUI elements from The list? When creating form. So in The Form TAB. And if some item would be chosen by using keyboard, user could also choose by using context menu event such as button click. I Am afraid, that I can not simply create 4 or 5 buttons without IDE and simply compile new form which would be created by this manual way. And what would happen, if user would not use The mouse to define new GUI element position and if visually impaired user would create several GUI elements without using Mouse to position every item correctly? COuld it cause some Net framework run-time exception or error?

Next big accessibility issue is The code editor editable field. But in This case. I Am very tolerant human beeing. And I could simply write The corresponding code by using AN UTF8 compatible text editor such as standard Notepad from Microsoft. But forms must be very probably auto generated by using Ide to prevent chaos and errors. Big problem is The error message when using F5 key to compile The code. Some read only editable field could contain such error message with The corresponding line number.

I have tested your language by using samples, which you have provided and I really think, that it is robust, reliable and stable solution.

You are elite programmers and I think, that Small visual Basic has really a open future. Thank you very very much for your comment or for your help or advice. With The deepest possible appreciation and with The kindness regards. Janusz Chmiel

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVRFSZNJ2CB5U34EPFDYPAC3LAVCNFSM6AAAAABB65SB5SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DMNRUG4ZDGNY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

VBAndCs commented 6 months ago

Hi @Janusz:

I tried the Windows 7 narrator, and I discovered that it can read the code in the text editor and the error messages in the errors list, but with one condition: You must click the Small Visual Basic IDE title bar first, and after the narrator starts reading it, click on the code or on the on of the errors in the eerrors list to read it.

The IDE is built using WPF, and it has some issues with the accessibility.

Also. I noticed that narrator can read the tool tips that appear when you hover by mouse over a control in the control box. Always remember to activate the IDE window to make narrator pay attention.

I think that is far as I can go now. I hope it helps.

Thanks.


From: Janusz Chmiel @.> Sent: Wednesday, January 17, 2024 5:28 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Plea for screen readers accessibility improvement (Issue #51)

Dear elite developers, When I have tried your IDE and your programming language, I have started to be very very happy. Why? Because I could have so positive feelings, that even though I do not see at all, I have finally The chance to create modern .exe apps based on Net Framework with no need to use Visual Studio. Yours language is so effective and simple at The same time. It produces fully accessible user interface when .exe app is being executed.

I have The following big plea to you. How complex would be for you to redesign Ther user interface of Small visual basic IDE, so screen reader users could choose The GUI elements from The list? When creating form. So in The Form TAB. And if some item would be chosen by using keyboard, user could also choose by using context menu event such as button click. I Am afraid, that I can not simply create 4 or 5 buttons without IDE and simply compile new form which would be created by this manual way. And what would happen, if user would not use The mouse to define new GUI element position and if visually impaired user would create several GUI elements without using Mouse to position every item correctly? COuld it cause some Net framework run-time exception or error?

Next big accessibility issue is The code editor editable field. But in This case. I Am very tolerant human beeing. And I could simply write The corresponding code by using AN UTF8 compatible text editor such as standard Notepad from Microsoft. But forms must be very probably auto generated by using Ide to prevent chaos and errors. Big problem is The error message when using F5 key to compile The code. Some read only editable field could contain such error message with The corresponding line number.

I have tested your language by using samples, which you have provided and I really think, that it is robust, reliable and stable solution.

You are elite programmers and I think, that Small visual Basic has really a open future. Thank you very very much for your comment or for your help or advice. With The deepest possible appreciation and with The kindness regards. Janusz Chmiel

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVRFSZNJ2CB5U34EPFDYPAC3LAVCNFSM6AAAAABB65SB5SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DMNRUG4ZDGNY. You are receiving this because you are subscribed to this thread.

[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.comhttps://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

JanuszChmiel commented 6 months ago

Thank you for your professional and very fast support. Your included Show buttons example is really very good example how to create GUI directly from The code with no need to use build in Forms designer at all. Very very well done and I Am very satisfied. Thank you also for your professionally written users guide.

I have only a little issue when adding GUi elements manually. TAB and SHIFT+Tab key strokes do not jump between GUI elements. Is it possible to force this behaviour also at The code level? Or is it The price that I Am not using build in form designer, which makes this focus automatically? Thank you and I wish you many programmers and presonal achievements.

VBAndCs commented 6 months ago

Hi @Janusz:

Tab and Shift+Tab work in the form designer, but they don't only select controls nut other IDE parts.

I don'y understand what do you need to do in the code editor. Clicking tab in any code editor just writes tab, so, it is not possible to use it to navigate between words in code.

Thought, the code editor highlights keywords of each block like sub, return and endsub. It also highlights opening and closing parentheses, and highlights all occurrences of the identifier that the caret is within. In all these cases you can press F4 to navigate between highlighted tokens, or use Shift+Ctrl+Up or Shift+Ctrl+Down to go forth and back between them.

If you want to go to a specific control name, press F3 to open the search box, type the name, and press Enter to close the search box and find the word. This wil highlight the word if found, and all its occurrences. You can pres F3 again to navigate between search results, but note thee search can find larger words that contain the search word, so, pressing F4 here is better to navigate to between exact highlights.

I think this will do what you need.


From: Janusz Chmiel @.> Sent: Wednesday, January 17, 2024 8:21 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Mohammad Hamdy Ghanem @.>; Comment @.> Subject: Re: [VBAndCs/sVB-Small-Visual-Basic] Plea for screen readers accessibility improvement (Issue #51)

Thank you for your professional and very fast support. Your included Show buttons example is really very good example how to create GUI directly from The code with no need to use build in Forms designer at all. Very very well done and I Am very satisfied. Thank you also for your professionally written users guide.

I have only a little issue when adding GUi elements manually. TAB and SHIFT+Tab key strokes do not jump between GUI elements. Is it possible to force this behaviour also at The code level? Or is it The price that I Am not using build in form designer, which makes this focus automatically? Thank you and I wish you many programmers and presonal achievements.

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/51#issuecomment-1896630024, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVXNRQFAU4HHKPVICILYPAXELAVCNFSM6AAAAABB65SB5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGYZTAMBSGQ. You are receiving this because you commented.Message ID: @.***>

VBAndCs commented 5 months ago

I just published the first book of the "Small Visual Basic Kid Programmer" series on Amazon: https://www.amazon.com/dp/B0CVK1BMC9


From: Janusz Chmiel @.> Sent: Wednesday, January 17, 2024 5:28 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Plea for screen readers accessibility improvement (Issue #51)

Dear elite developers, When I have tried your IDE and your programming language, I have started to be very very happy. Why? Because I could have so positive feelings, that even though I do not see at all, I have finally The chance to create modern .exe apps based on Net Framework with no need to use Visual Studio. Yours language is so effective and simple at The same time. It produces fully accessible user interface when .exe app is being executed.

I have The following big plea to you. How complex would be for you to redesign Ther user interface of Small visual basic IDE, so screen reader users could choose The GUI elements from The list? When creating form. So in The Form TAB. And if some item would be chosen by using keyboard, user could also choose by using context menu event such as button click. I Am afraid, that I can not simply create 4 or 5 buttons without IDE and simply compile new form which would be created by this manual way. And what would happen, if user would not use The mouse to define new GUI element position and if visually impaired user would create several GUI elements without using Mouse to position every item correctly? COuld it cause some Net framework run-time exception or error?

Next big accessibility issue is The code editor editable field. But in This case. I Am very tolerant human beeing. And I could simply write The corresponding code by using AN UTF8 compatible text editor such as standard Notepad from Microsoft. But forms must be very probably auto generated by using Ide to prevent chaos and errors. Big problem is The error message when using F5 key to compile The code. Some read only editable field could contain such error message with The corresponding line number.

I have tested your language by using samples, which you have provided and I really think, that it is robust, reliable and stable solution.

You are elite programmers and I think, that Small visual Basic has really a open future. Thank you very very much for your comment or for your help or advice. With The deepest possible appreciation and with The kindness regards. Janusz Chmiel

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVRFSZNJ2CB5U34EPFDYPAC3LAVCNFSM6AAAAABB65SB5SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DMNRUG4ZDGNY. You are receiving this because you are subscribed to this thread.Message ID: @.***>