מתני' הכל חייבין בראייה - במצות ראיית כל זכורך (שמות כג) שצריכים להתראות בעזרה ברגל:
Mishna - "All are obligated in the appearance" in the command in the appearing of all your males (Shemos 23:16) - that it they need to be seen in the Temple Courtyard on the Festival.
חוץ מחרש שוטה וקטן - דלאו בני דעה נינהו ופטורין ממצות:
Except for a deaf-mute, an imbecile, and a minor - that they are not of sound mind and they are exempt from commandments.
החיגר והסומא - כולה יליף מקראי בגמרא:
The Lame and the Blind - all of these are learned from verses in the Gemara.
ומי שאינו יכול לעלות ברגליו - מירושלים לעזרה ובגמרא מפרש להו:
And one who is unable to ascend on his legs - from Jerusalem until the Temple Courtyard. And the Gemara explains this (passage).