If you want to find input, textarea,or select elements that have the attribute required and are visible use the has attribute selector:
$('input,textarea,select').filter('[required]:visible')
or
$(':input[required]:visible')//might be little costlier