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.
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.
@Matt_Campbell You’re right about the benefits of using existing text where possible, but I ended up adding two new strings so the label can say “[Show/hide] composer toolbar”. I considered using “options,” but it didn’t seem descriptive enough, especially considering that the button is a toggle.
@owlish@Matt_Campbell@awesomerobot ، ما هو الوضع هذه الأيام؟
كان الطلب الأصلي يتعلق بتصحيح العنوان “أو اضغط Ctrl+Enter” على زر الرد. ربما نضيف ببساطة aria-label="reply" إلى هذا الزر؟
يقرأ VoiceOver على نظام iOS تسمية الزر “رد” ثم العنوان، وهذا هو الحال أيضًا مع NVDA على سطح المكتب، لذلك أعتقد أنه تم تغطية كل شيء هنا ولكن يمكنني إلقاء نظرة فاحصة إذا كان هناك أي شيء لا يزال مفقودًا.
يمكن أن يكون التحسين الطفيف هو إزالة العنوان على الهاتف المحمول لأن اختصارات لوحة المفاتيح ليست ذات صلة بشكل عام هناك.