RE: mastodon.social/@freedomscient…
This was excellent. Liz and Rachel do a great job.
RE: mastodon.social/@freedomscient…
This was excellent. Liz and Rachel do a great job.
"Subject: Offer to Purchase The cURL project"
😂
I don't even think it used the docs lol. For the record, if you're curious: // Prism state
#ifdef USE_PRISM
static PrismContext* g_prismCtx = nullptr;
static PrismBackend* g_prismBackend = nullptr;
#endif
Then, // Screen reader output - uses async message to avoid blocking UI
#ifdef USE_PRISM
static std::string g_pendingSpeech;
static bool g_speechInterrupt = true;
void DoSpeak() {
if (g_prismBackend && !g_pendingSpeech.empty()) {
prism_backend_output(g_prismBackend, g_pendingSpeech.c_str(), g_speechInterrupt);
g_pendingSpeech.clear();
}
}
void Speak(const char* text, bool interrupt = true) {
if (g_prismBackend && g_hwnd) {
g_pendingSpeech = text;
g_speechInterrupt = interrupt;
PostMessage(g_hwnd, WM_SPEAK, 0, 0);
}
}
void Speak(const std::string& text, bool interrupt = true) {
Speak(text.c_str(), interrupt);
}
#else
void DoSpeak() {}
void Speak(const char*, bool = true) {}
void Speak(const std::string&, bool = true) {}
#endif
and in the init funcs: // Initialize Prism for screen reader support
#ifdef USE_PRISM
bool InitPrism(HWND hwnd) {
PrismConfig cfg = prism_config_init();
cfg.hwnd = hwnd;
g_prismCtx = prism_init(&cfg);
if (!g_prismCtx) {
return false;
}
g_prismBackend = prism_registry_acquire_best(g_prismCtx);
if (!g_prismBackend) {
return false;
}
PrismError err = prism_backend_initialize(g_prismBackend);
if (err != PRISM_OK) {
return false;
}
return true;
}
// Shutdown Prism
void FreePrism() {
if (g_prismBackend) {
prism_backend_free(g_prismBackend);
g_prismBackend = nullptr;
}
if (g_prismCtx) {
prism_shutdown(g_prismCtx);
g_prismCtx = nullptr;
}
}
#else
bool InitPrism(HWND) { return false; }
void FreePrism() {}
#endif
Sensitive content
“Europe is a regulatory morass that is built on bureaucracy, and the layering and layering of rules that constrain economic activity.”
Scott Bessant, US Treasury Secretary
To which Europeans say:
Flint, Michigan
East Palestine, Ohio
Uniontown, Alabama
These places are global bywords for the poisoning of people and nature when you have no regulatory oversight of business and you prioritise ‘economic activity’ at all costs over health and safety.
I'm writing a technical blog post and want to use a UML sequence diagram to explain something.
Only trouble is, I have no idea how to make such a diagram accessible to a screen reader.
I know I could just write up alt-text to describe it, but at that point I feel like I should just use the text _instead_ of the diagram.
Maybe that's the answer, but I'm hoping there's a way to get a screen reader to communicate the diagram in some way?
Any ideas appreciated!
@menelion PlantUML looks neat!
I'm currently using js-sequence-diagrams[1], which looks like it has similar syntax as PlantUML.
Putting the code/text representation of the diagram feels like it'd be helpful for a small diagram, but maybe too much to keep in ones head for a larger one?
Better than nothing I reckon though!
@menelion Aww thank you André. ❤️ I'm touched, and not really sure how to respond!
I guess I'll just say that I want to live in the world where we all look out for each other's needs, and where we can ask each other for accommodations or help when we need to. Where we all get those warm breezes when we're cold :)
Anyway, thank you again for the kind words!
@menelion On the PlantUML front, I found this paper describing how it was used in a computer science class to help a blind student learn the content:
dl.acm.org/doi/pdf/10.1145/354…
Some points I found interesting:
* the textual representation of the diagram was enough for, at least this one person, to be able to follow along in the course
(1/2)
I updated my "How to survive FOSDEM" article.
@fosdem organizers updated map so I updated it as well. The change was simple: there is no ATM at ULB (for quite a while).
So I added an info about it. And some minor edit.
marcin.juszkiewicz.com.pl/2019…
FOSDEM is 2 weeks conference in 2 days. Can be tough to survive.marcin.juszkiewicz.com.pl
Bri🥰
in reply to Mariah • • •Mariah
in reply to Bri🥰 • • •Bri🥰
in reply to Mariah • • •Mariah
in reply to Bri🥰 • • •Bri🥰
in reply to Mariah • • •Mariah
in reply to Bri🥰 • • •Bri🥰
in reply to Mariah • • •Mariah
in reply to Bri🥰 • • •Bri🥰
Unknown parent • • •David K
in reply to Bri🥰 • • •Kaliah
in reply to Bri🥰 • • •Bri🥰
in reply to Kaliah • • •Mariah
in reply to Bri🥰 • • •Bri🥰
in reply to Mariah • • •Mariah
in reply to Bri🥰 • • •Mariah
in reply to Bri🥰 • • •Bri🥰
in reply to Mariah • • •Kaliah
in reply to Bri🥰 • • •