Jump to content

Search the Community

Showing results for tags 'accessibility'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Delphi-Version

Found 2 results

  1. As I advance in age, I'm finding small text size in apps is becoming quite annoying and I'm realizing I should be doing a bit more to improve accessibility features in my own Delphi apps, particularly for iOS. I've been reading about the Dynamic Type settings in Apple iOS (I have my own device set on a larger text size too). I want my own app to show larger text across the whole app if a user has set this up on their device. But I'm struggling to see how to implement this in a Delphi FMX app. One solution seems to be to dip into the (brilliant!) Kastri library and pull out TUITraitEnvironment and LTraitCollection and read preferredContentSizeCategory. Kastri already has functions/properties for accessibility features. I could then set my main form's layout scale accordingly. Something like the attached (trying to follow and learn from other functions in Kastri units). Another alternative might be to change some setting (?) or the plist or something so that FireMonkey automatically adjusts the default font size in my StyleBook(s). Could anyone advise me? I must admit I'm finding it really hard to find relevant web pages on Delphi and Dynamic Type without the search engine showing information about RTTI instead of the similarly named Apple iOS feature. I could add a scale button on the app, of course, but I was hoping to help users like myself who don't like to reach for their reading glasses every time they launch a small font sized app. Also, if there's an obvious cross-platform setting I'm missing, please do point out the obvious! Best wishes and thanks in advance! supportinglargertext.txt
  2. Firstly, let me say that my work on SynEdit has moved back to pyscripter/SynEdit for reasons explained here. The newest enhancement to SynEdit is accessibility support. Now, SynEdit fully supports screen readers such as Windows Narrator and NVDA. The support is much better than, for instance, in Visual Studio Code. The implementation is not based on the older Microsoft Active Accessibility (MSAA), but on the newer Microsoft UI Automation. Microsoft UI Automation has been around since 2005 and is available to all Windows versions, since Windows XP. In addition to making applications accessible, it can also be used by automated UI testing tools. Despite been available for almost 20 years, Delphi does not provide the relevant header translations (See RSP-41898), which complicated the implementation. I also could not find any other complete Delphi implementation of UI automation. So, the SynEdit implementation may serve as a guide to how to implement UI Automation in other controls. Further details can be found here.
×