Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
text_accessibility.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::view::TextAccessibilityNode
 A single accessible text node — the minimum a screen reader needs to describe a piece of painted text. More...

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Enumerations

enum class  pulp::view::TextAccessibilityRole : std::uint8_t {
  pulp::view::Label , pulp::view::Button , pulp::view::TextEditor , pulp::view::Heading ,
  pulp::view::Other
}
 Coarse semantic role for a piece of accessible text. More...

Functions

std::string_view pulp::view::accessibility_backend_name () noexcept
 Returns the active accessibility backend identifier.
void pulp::view::register_text_accessibility_node (const TextAccessibilityNode &node)
 Register or replace a text node with the active a11y backend.
void pulp::view::unregister_text_accessibility_node (std::string_view id)
 Drop the node registered under id.
std::vector< TextAccessibilityNode > pulp::view::snapshot_accessibility_nodes ()
 Read back the currently-registered nodes.