Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom user profile fields for accessibility. #23

Closed
gjb2048 opened this issue Jan 19, 2016 · 3 comments

Comments

Projects
None yet
1 participant
@gjb2048
Copy link
Owner

commented Jan 19, 2016

NTS: Conversation with Mags.

Custom user profile fields can have one of three visibility settings:

    Visible to everyone
    Not visible
    Visible to user

The Not visible setting would typically be set by an administrator who wants to hold private data on the users. The Visible to user setting would normally be selected for a field that holds sensitive information, while the Visible to everyone setting can be used for any type of information.

Therefore can use as a means of telling the Grid format to display as 'topics' format for a given user. Then screen reader software (such as JAWS: http://www.freedomscientific.com/Downloads/JAWS) can describe the whole page.

@gjb2048 gjb2048 added the Enhancement label Jan 19, 2016

@gjb2048 gjb2048 self-assigned this Jan 19, 2016

@gjb2048

This comment has been minimized.

Copy link
Owner Author

commented Feb 17, 2016

Info on: https://docs.moodle.org/30/en/User_profile_fields

Looks like custom fields are added to the $USER global, i.e. 'accessibility' with:

global $USER;
error_log(print_r($USER->profile, true));

gives:

[17-Feb-2016 13:29:09 Europe/London] Array
(
    [accessibility] => 1
)
@gjb2048

This comment has been minimized.

Copy link
Owner Author

commented Feb 17, 2016

Ok, use 'accessible'.

@gjb2048

This comment has been minimized.

Copy link
Owner Author

commented Feb 19, 2016

Implemented in V3.0.0.4

@gjb2048 gjb2048 closed this Feb 19, 2016

gjb2048 added a commit that referenced this issue Mar 4, 2016

gjb2048 added a commit that referenced this issue Mar 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.