def _ldtpize_accessible(self, acc):
actual_role = self._get_role(acc)<EOL>label = self._get_title(acc)<EOL>if re.match("<STR_LIT>", actual_role, re.M | re.U | re.L):<EOL><INDENT>strip = r"<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>strip = r"<STR_LIT>"<EOL><DEDENT>if label:<EOL><INDENT>label = re.sub(strip, u"<STR_LIT>", label)<EOL><DEDENT>role = abbreviated_roles.get(actual_role, "<STR_LIT>")<EOL>if self._ldtp_debug and role == "<STR_LIT>":<EOL><INDENT>print(actual_role, acc)<EOL><DEDENT>return role, label<EOL>
Get LDTP format accessibile name

@param acc: Accessible handle
@type acc: object

@return: object type, stripped object name (associated / direct),
                associated label
@rtype: tuple