Is there a shortcut key for accessing the menu bar? [duplicate]

Do you mean Ubuntu menu? It is Alt + F1.

For window menu, use Alt + Space. For e.g. File menu, just hold down Alt and see what letter is underlined. Example: Alt + F

Read more on: https://help.ubuntu.com/community/KeyboardShortcuts