slint/internal/compiler
Tobias Hunger 07ad20a09c
Basic Slint accessibility support (#1294)
Implement basic accessibility (a11y) support, using the Qt backend.

_This should get us started, but accessibility support is an additional way to interact with UIs that is very different from the "graphical way" most users will interact with the UI. No single PR will "make a toolkit accessibility", this needs to be an ongoing effort!_

Parts of this PR:

* Add functions to access a11y-related properties to Component
* Add helper functions to Item struct 
* Handle accessible- properties in the compiler
* Add documentation, add description, enforce some basic rules
* Make the Text element accessible by default
* Don't optimize away accessibility property in the LLR
* Ensure that accessibility property are marked as used
* Add some accessibility properties to the native style widgets
* Support for bool and integer `accessible` properties
* Implement basic support for accessibility
* Make basic widgets accessible by default
* Make slider focus-able and interactable with keyboard
* Tell a11y layer about value changes
* Generate QAccessible constants using bindgen
* Don't expose the `accessible` properties when using the MCU backend: There is no backend to make use of them
* Handle focus change based on keyboard focus of the window
* Report accessible widgets at correct positions
* Allow for (virtual) focus delegation at the a11y level
* Calculate value step size dynamically
* Make sure to not send notifications to a11y backend about dead objects
2022-06-08 20:42:10 +02:00
..
generator Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
parser LSP: Fix auto-completion of @-macros 2022-05-19 19:22:56 +02:00
parser-test-macro Bump version number to 0.2.5 2022-05-09 16:16:00 +00:00
passes Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
tests Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
widgets Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtin_macros.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtins.slint Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
Cargo.toml Fix compiler warning about usage of deprecated method 2022-06-04 10:23:32 +02:00
diagnostics.rs LSP: fetch the file content from cache instead of from disk to compute the line number 2022-06-02 21:45:50 +02:00
embedded_resources.rs mcu: scale images at compile time (#966) 2022-03-03 13:28:47 +01:00
expression_tree.rs Implements @radial-gradient(circle, ...) 2022-05-19 14:07:20 +02:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Mark constant properties of parent native type as such 2022-02-18 17:40:17 +01:00
langtype.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
layout.rs C++: implement Window::on_close_requested 2022-03-17 14:49:12 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
literals.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
llr.rs Fix a bunch of documentation warnings 2022-04-26 12:47:34 +02:00
load_builtins.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lookup.rs VSCode web extension: load files from the vscode API 2022-06-02 16:21:07 +02:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
parser.rs Fix compiler warning about usage of deprecated method 2022-06-04 10:23:32 +02:00
passes.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs VSCode web extension: load files from the vscode API 2022-06-02 16:21:07 +02:00
typeregister.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.