إمكانية الوصول: نموذج الموضوع/الرد الجديد غير متاح لقارئ الشاشة

A screen reader user on iOS reported that several buttons on the New Topic/Reply form are not correctly labelled.

Image%20from%20iOS(3)

  • The reply button in the bottom-left is being read as “Or press Ctrl+Enter”, not “Reply” as expected
  • The hamburger button in the top-right is not labelled
  • The upload image button in the bottom-right is read as “link”
9 إعجابات

Is this specific to mobile?

إعجاب واحد (1)

Of the buttons listed, I think only the Reply button appears on the desktop version but it’s still labelled “Or press Ctrl+Enter”

إعجابَين (2)

@owlish I would love to get this sorted, can you provide us with a quick start of how to test this? What software do we install locally?

5 إعجابات

The Chrome Vox screenreader was recommended for accessibility testing.

NVDA is another free option for Windows.

3 إعجابات

Just wanted to check in to see if there’s been any movement on this or if you need any more information

إعجاب واحد (1)

Hi @sam, is there any other information you need for this?

إعجاب واحد (1)

I think we have what we need, its just a question of resources at the moment.

I am adding a pr-welcome on this in case someone from the community wants to help out.

5 إعجابات

The issue with the reply button was fixed by commit 31ffcf989ce63e. I just tested this on iOS with VoiceOver.

Now I’ll investigate the other two issues.

7 إعجابات

I verified that the hamburger button in the composer isn’t labeled. Specifically, this is the toggle-toolbar button in the composer-toggles component. This button is only rendered in the mobile view.

What would be a reasonable label for this button? Maybe “Formatting”, since many of the toolbar options are formatting related? Not all of them are, though. Maybe the more generic “Tools” would be better.

5 إعجابات

It occurred to me that, to enable accessibility fixes to reach Discourse’s worldwide user base without imposing too much on translators, we should use existing strings for unlabeled controls when it makes sense. So, for the hamburger button, would it make sense to use “show more” as the title? We could use “options”, and I think that would be a better fit, except that there’s already an “options” button in the toolbar itself. I think that would be confusing.

6 إعجابات

لقد أضفت تسميات إلى أزراري التحميل والمعاينة وكذلك زر تبديل شريط الأدوات.

@Matt_Campbell، أنت محق بشأن فوائد استخدام النصوص الموجودة عند الإمكان، لكنني في النهاية أضفت سلسلتين جديدتين حتى تتمكن التسمية من القول “[إظهار/إخفاء] شريط أدوات المؤلف”. لقد فكرت في استخدام كلمة “خيارات”، لكنها لم تبدو وصفية بما يكفي، خاصة مع اعتبار أن الزر هو زر تبديل.

6 إعجابات

@owlish @Matt_Campbell @awesomerobot ، ما هو الوضع هذه الأيام؟
كان الطلب الأصلي يتعلق بتصحيح العنوان “أو اضغط Ctrl+Enter” على زر الرد. ربما نضيف ببساطة aria-label="reply" إلى هذا الزر؟

إعجابَين (2)

يقرأ VoiceOver على نظام iOS تسمية الزر “رد” ثم العنوان، وهذا هو الحال أيضًا مع NVDA على سطح المكتب، لذلك أعتقد أنه تم تغطية كل شيء هنا ولكن يمكنني إلقاء نظرة فاحصة إذا كان هناك أي شيء لا يزال مفقودًا.

يمكن أن يكون التحسين الطفيف هو إزالة العنوان على الهاتف المحمول لأن اختصارات لوحة المفاتيح ليست ذات صلة بشكل عام هناك.

3 إعجابات

حسنًا، سأضع مؤقتًا لمدة أسبوعين لإغلاق هذا.

لا تتردد في فتح متابعات إذا وجدت أي شيء @owlish

تم إغلاق هذا الموضوع تلقائيًا بعد 9 أيام. لم يعد يُسمح بالردود الجديدة.